 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
October 26th, 2005, 12:47 PM
|
#1 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
| Changing unregistered user english var bug(FIXED)
If you change the unregistered text var of what appears as the username for unregistered user groups and then more people upload as the new name, in the Top Posters pal it will show both names. If you go to the adminCP and run the scan database and the setting for "Check here to resync photo/comments usernames/update comments counts." Then the account name goes blank. It's now neither naming and under every picture that was posted by an unregistered user is blank to. Whereever the name of the unregistered english varaible is suppose to appear, now turns blank.
On a side note I was wondering... What would happen if a user registered with the same name as your unregistered var? Is their any type of protection that (at least for internal Photopost registration system) disallows a user to register the same name that is the ['unreg'] name? I am just trying to think of future scenarios that an abusive user might try and use on my site.
|
| |
October 26th, 2005, 01:06 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Johnny where are you changing this name
Your simply change it in the language file
As far as uploads I see they are set what the name in the language file
Now only thing I see we could change is on scan database Code: Content visible to verified customers only.
to this Code: Content visible to verified customers only.
Last edited by Chuck S; October 31st, 2005 at 04:19 PM.
|
| |
October 28th, 2005, 12:17 PM
|
#3 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
|
What file do I change that code in?
(Yes, the problem seemed to appear after I changed the unregistered english word and then ran the scan database function from the AdminCP.)
|
| |
October 28th, 2005, 12:56 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
adm-misc.php
|
| |
October 28th, 2005, 01:18 PM
|
#5 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
|
When loading up the AdminCP I get this error in both frames:
Parse error: parse error, unexpected '=' in /home/user/public_html/photopost/adm-misc.php on line 1328
|
| |
October 28th, 2005, 01:22 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Reapply the code edit
$tname[$tuserid] = addslashes($Globals['pp_lang']['unreg']);
Last edited by Chuck S; October 31st, 2005 at 04:19 PM.
|
| |
October 28th, 2005, 10:05 PM
|
#7 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
|
uh? What do you mean by "Reapply the code edit"?
|
| |
October 28th, 2005, 10:34 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Reapply means redo it
|
| |
October 31st, 2005, 04:15 PM
|
#9 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
|
It gives this error now: Quote: |
Parse error: parse error, unexpected '{', expecting ')' in /home/user/public_html/photopost/adm-misc.php on line 1334
| BTW 1334 reads: Quote: |
$tname[$tuserid] = addslashes({$Globals['pp_lang']['unreg']});
| |
| |
October 31st, 2005, 04:18 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Johnny just go download the photopost distribution |
| |
November 2nd, 2005, 03:12 PM
|
#11 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 854
|
I finally got it working. I don't understand why I had to try 3 times to finally get it to work though?
ANyway, thanks.
|
| |
November 2nd, 2005, 03:18 PM
|
#12 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Maybe some kind of fbrowser/file caching on your downloads. Glad you got it.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:48 PM. | |