-
☆ A M B ☆
- 427 Posts
Quote from: Soshite at Aug 06, 2008, 08:09 AM
Maybe you guys would know why this is happening...
For a while now, I’ve had an issue in WLPE where I need to set it up like this in the snippet file...
if (file_exists(MODX_BASE_PATH.'assets/snippets/webloginpe/lang/'.$lang.'.php'))
{
include MODX_BASE_PATH.'assets/snippets/webloginpe/lang/'.$lang.'.php';
}
I have to change include_once to include, else the lang file never gets used, and I get a blank message.
(Which reminds me, I need to test again now to see if the "ghost" user bug still exists. Basically, WLPE wasn’t stopping accounts from being made, even if they had *badly* corrupted data. And users couldn’t register, because it gave errors like No username specified, when they has inserted one.)
I believe this is one of the possible outcomes (depending on code) of trying to pull the same include multiple times. It may very well have been being called from another included file.
If so, then it is a waste of system resources and we should make sure it is only included once at the top of the main snippet call and removed everywhere else. That’s probablly a code for the future.
-
☆ A M B ☆
- 427 Posts
I spent countless hours developing an international travel website utilizing WebloginPE 1.30.
I even made a 1.31 while Scotty was still directly involved in the project. For him to look over and make a 1.4 out of.
I pulled the zip I passed up to these forums, for three reasons: he disappeared ( I didn’t have time to directly take over the support), there may have been issues with the template subsystem (later found chunks were the best answer), it ended up causing confusion as it was too close to the original release.
Thank you Soshite for taking this on again.
In order to produce this site:
Here is what I did. Simply I used WebloginPE to create users and that is all.
I then created my own queries to manipulate the data, and displays, like multiple column users.
It appears the client is looking at expanding the website. I will install this version and run it parallel with the 1.30 I have currently working and we will see if I can help out with this new version a bit.
webloginpe.class.php line 2162:
[tt]$url = $modx->makeURL($this->loHomeId);[/tt]
should be
[tt]$url = $modx->makeURL($this->liHomeId);[/tt]
as this is the ’LoginHomePage’ section.
-
MODX Staff
- 12,272 Posts
Did SVN ever get imported for WLPE? It’d be great to get vhollo’s and the template fixes into SVN for a quick 1.3.2 release.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 12,272 Posts
The project owner has to set up the base SVN repository on the project. From there anyone that’s a team member can take care of importing the basic code for the first time; the documentation on that is a bit confusing if you’ve never done it before.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 12,272 Posts
Setting up the base doesn’t mean doing the initial import. I think it’s basically telling Google Code you want to have SVN and giving it a name. I’ve not done it myself, so I could be very wrong.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: rthrash at Aug 20, 2008, 08:19 AM
Setting up the base doesn’t mean doing the initial import. I think it’s basically telling Google Code you want to have SVN and giving it a name. I’ve not done it myself, so I could be very wrong.
The Google account is set up, so I think all that’s needed is to dump a local repository (
http://www.shokhirev.com/nikolai/programs/SVN/backup_load.html), set the rev number to 0 at Google, and upload the dump.
I think Soshite might be stuck at creating the local SVN repository. I outlined the steps for that earlier in this thread but may have left something out.