|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Modification Name: Flags Mod Author(s): Weird Al Description: Uh... this puts a flag by your post, which you choose in your profile Demo: none Requirements: UBB.classic 6.7 Download Link: https://www.ubbdev.com/ubb/upload/00020028/Flags67.zip Credits: CTM for suggesting I only offer UK, US, and "other" and for buying me a little more time Follow the instructions in the txt file, and upload the images to noncgi/flags/ No new files except for the flags
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Thank you Al, great job!!! 
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Al,
it seems to be that the hack does not work correctly, or I make (again) a mistake:
(RequireCodeNoINC) NonCGIPath/Templates/public_topic_page.pl: syntax error at NonCGIPath/Templates/public_topic_page.pl line 200, near "$nation s/_/ /isg" Compilation failed in require at CGIPath/ubb_lib.cgi line 922.
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
Once again, no chance of this being ported to 6.6.1?
- MT
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Originally posted by d-talk:
Hi Al,
it seems to be that the hack does not work correctly, or I make (again) a mistake:
(RequireCodeNoINC) NonCGIPath/Templates/public_topic_page.pl: syntax error at NonCGIPath/Templates/public_topic_page.pl line 200, near "$nation s/_/ /isg" Compilation failed in require at CGIPath/ubb_lib.cgi line 922.
in public_topic_page.pl replace: $nation s/_/ /isg; with: $nation =~ s/_/ /isg;
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
The hack does not work, no flag is shown under the name at public_topic_page.pl
What is with users who does not want a flagg, there is no option ...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
zip updated. d-talk, "Blank" is one of the options.
Matt, the only step that would've changed to my knowledge it the maxmem step
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Al, it does not work... no flag...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
login and link to board you're using it on?
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
Weird Al,
Thanks. I'm going to go ahead with 6.6.1 for right now and mod 6.7 later when things calm down.
- MT
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
zip updated. steps changed in public_edit_profile.pl and public_register_form.pl
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Al,
I was wondering that nobody new register to my board, that was becouse an error is at ubb_registration.cgi
Somethin is not safe at that file, have that something to do with the flags hack?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I only added one line to ubb_registration.cgi, and that line would not mess up the file.
What error are you getting?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
that's odd. I'll take a look at it later today
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
since @thismearray is there, you most likely messed up on installation. Rehack ubb_registration.cgi
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Al, everytime i rehack ubb_registration.cgi I get a mistake.... 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Just PM me the ftp details. I go back to class tomorrow, so I can't guarantee speedy service
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi,
I build in the hack at 6.7.0 Final and when I want to edit my profile at the profile-page I get the following error:
Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_profile.cgi line 1001. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 1002. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 1004. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 1007. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 1010. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 1010. BEGIN not safe after errors--compilation aborted at CGIPath/ubb_profile.cgi line 1088.
Can you pleas have a look at it?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Ups sorry guys, it was an error at calendar-mod, sorry my mistake... Thank you LK! 
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Ian,
do you realy sure you updated the zip file, I have again the problem that no flag is shown...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
And now I get the following error when i want to save my profile:
Sorry, this form may only be submitted once per request to the Edit Profile page. Please use the link below to return. Do not use your back button. You will need to make your changes again. This error can also occur if you are trying to hack a profile.
» Please use your browser's back button to return.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
That error is intentional, you have to go to "my profile" and "Edit My Profile" again in order to update your profile quote: Please use the link below to return. ... » Please use your browser's back button to return. lol... in this board and my board it says "» Edit Profile". Are you sure you're using the 6.7.0 final public_common.pl and ubb_profils.cgi files?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
d-talk, delete your test forum ENTIRELY, upload a FRESH COPY of 6.7 FINAL!!, then try it.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Can you tell me why? I have build in serveral hacks.... Thats a lot of work... 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Because I noticed at least one file lacking things added in 6.7 BR2, and that leads me to believe that you aren't using up to date templates
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
I never used 6.7 BR2
Now I have uploaded public common.pl new and at least it is the same error...
Can you tell me which file you mean?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I know that, you went straight from 6.7 BR1 to 6.7 final, yet things that should be in BR2 and FINAL are not there
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
I use only 2 template files from BR1 that are: public_forum_summary.pl public_topic_page.pl 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
didn't you learn from when you had the graemlin popup problem? You can't reuse templates or cgi files.
It's hard to support my mods if the people using it aren't even using all the files from the same version
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Sorry but I use no .cgi file from br1 only this two template files... 
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
It's defenetly your hack, it does not store the profile changes for the flag...
The same thing as at last time at br1, I think you did not update the zip.file...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Please Ian or LK,
can you have a look at the hack, the choosen flag is not stored at the profile page...
Thanks a lot d-talk
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
updated with the words "Second instance of" for one step
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Thank you Ian!!! 
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Ian, quote: In ubb_lib.cgi **************
FIND:
$vars_config{'MaxMemFields'} = 43;
REPLACE WITH:
$vars_config{'MaxMemFields'} = 52; I dont have anything like this in my ubb.lib. Is there a chance you take a glance at my ubb_lib.cgi and tell me what should I replace? Everything else is Okay, just the flags dont show instantly when picked in the Dropdown box. I have to save the profile change to be able to see the actual flag. thank you very much and a Happy New Year! Felix
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
unless you are using 6.7, you should be using the older version of the mod.
Also, you are not allowed to upload cgi files, so please remove it
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Originally posted by Ian Spence:
... Also, you are not allowed to upload cgi files, so please remove it
Sorry, I didn't know. Originally posted by Ian Spence: [qb] unless you are using 6.7, you should be using the older version of the mod....[/qb] If I'd had it I would not try to modify a 6.7 hack into a 6.3, would I? All the links to the old hack are dead.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|