Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#202089 01/04/2004 11:12 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 wink wink

Follow the instructions in the txt file, and upload the images to noncgi/flags/

No new files except for the flags

Sponsored Links
#202090 01/05/2004 4:56 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you Al, great job!!! thumbsup


Webmaster of d-talk & Kabel-Forum.com
#202091 01/05/2004 9:35 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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.


Webmaster of d-talk & Kabel-Forum.com
#202092 01/05/2004 10:18 AM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Once again, no chance of this being ported to 6.6.1?

- MT

#202093 01/05/2004 11:03 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Quote
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.
Code
in public_topic_page.pl
replace: $nation s/_/ /isg;
with: $nation =~ s/_/ /isg;

Sponsored Links
#202094 01/05/2004 2:01 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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 ...


Webmaster of d-talk & Kabel-Forum.com
#202095 01/05/2004 2:27 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202096 01/05/2004 2:43 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Al, it does not work... no flag...


Webmaster of d-talk & Kabel-Forum.com
#202097 01/05/2004 2:50 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
login and link to board you're using it on?

#202098 01/05/2004 4:14 PM
Joined: May 2000
Posts: 1,168
Member
Member
Offline
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

Sponsored Links
#202099 01/05/2004 4:59 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
zip updated. steps changed in public_edit_profile.pl and public_register_form.pl

#202100 01/16/2004 8:54 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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?


Webmaster of d-talk & Kabel-Forum.com
#202101 01/16/2004 11:37 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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?

#202102 01/16/2004 12:04 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684


Webmaster of d-talk & Kabel-Forum.com
#202103 01/16/2004 1:00 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
that's odd. I'll take a look at it later today

#202104 01/16/2004 1:47 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
since @thismearray is there, you most likely messed up on installation. Rehack ubb_registration.cgi

#202105 01/19/2004 9:01 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Al,

everytime i rehack ubb_registration.cgi I get a mistake.... eek


Webmaster of d-talk & Kabel-Forum.com
#202106 01/19/2004 8:59 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202107 01/20/2004 6:40 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
updated with typo fix

#202108 02/07/2004 12:32 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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?


Webmaster of d-talk & Kabel-Forum.com
#202109 02/07/2004 12:48 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394

#202110 02/07/2004 12:54 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Ups sorry guys, it was an error at calendar-mod, sorry my mistake... frown

Thank you LK! thumbsup


Webmaster of d-talk & Kabel-Forum.com
#202111 02/07/2004 1:03 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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...


Webmaster of d-talk & Kabel-Forum.com
#202112 02/07/2004 1:13 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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.


Webmaster of d-talk & Kabel-Forum.com
#202113 02/07/2004 2:49 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
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?

#202114 02/07/2004 3:24 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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.

#202115 02/07/2004 3:33 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Can you tell me why? I have build in serveral hacks....

Thats a lot of work... frown


Webmaster of d-talk & Kabel-Forum.com
#202116 02/07/2004 3:34 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202117 02/07/2004 3:37 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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?


Webmaster of d-talk & Kabel-Forum.com
#202118 02/07/2004 3:38 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202119 02/07/2004 3:41 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
I use only 2 template files from BR1 that are:

public_forum_summary.pl

public_topic_page.pl

frown


Webmaster of d-talk & Kabel-Forum.com
#202120 02/07/2004 3:43 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202121 02/07/2004 3:46 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Sorry but I use no .cgi file from br1 only this two template files... frown


Webmaster of d-talk & Kabel-Forum.com
#202122 02/07/2004 4:14 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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...


Webmaster of d-talk & Kabel-Forum.com
#202123 02/08/2004 6:19 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
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


Webmaster of d-talk & Kabel-Forum.com
#202124 02/08/2004 8:31 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
updated with the words "Second instance of" for one step

#202125 02/08/2004 8:49 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you Ian!!! thumbsup


Webmaster of d-talk & Kabel-Forum.com
#202126 12/31/2004 1:57 AM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Ian,

Quote
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

#202127 12/31/2004 12:32 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#202128 01/01/2005 1:58 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Quote
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.

Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)