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
Thank you Al, great job!!!
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.
Once again, no chance of this being ported to 6.6.1?
- MT
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;
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 ...
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
Al, it does not work... no flag...
login and link to board you're using it on?
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
zip updated. steps changed in public_edit_profile.pl and public_register_form.pl
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?
I only added one line to ubb_registration.cgi, and that line would not mess up the file.
What error are you getting?
that's odd. I'll take a look at it later today
since @thismearray is there, you most likely messed up on installation. Rehack ubb_registration.cgi
Hi Al,
everytime i rehack ubb_registration.cgi I get a mistake....
Just PM me the ftp details. I go back to class tomorrow, so I can't guarantee speedy service
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?
Ups sorry guys, it was an error at calendar-mod, sorry my mistake...
Thank you LK!
Hi Ian,
do you realy sure you updated the zip file, I have again the problem that no flag is shown...
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.
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?
d-talk, delete your test forum ENTIRELY, upload a FRESH COPY of 6.7 FINAL!!, then try it.
Can you tell me why? I have build in serveral hacks....
Thats a lot of work...
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
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?
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
I use only 2 template files from BR1 that are:
public_forum_summary.pl
public_topic_page.pl
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
Sorry but I use no .cgi file from br1 only this two template files...
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...
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
updated with the words "Second instance of" for one step
Thank you Ian!!!
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
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
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.
Can I politely mention that England and Scotland are missing from the file. There are some people who :rolleyes: do not wish to be branded as British.
Sad - but true...
sorry, not up to date on the European namings, but are they not part of the United Kingdom?
If not, just add them, it's pretty self-explanatory
Brand them all "European"
...
Oh yes - I did add them already, I thought that you might want to know, that's all.
And yes - they are part of the United Kingdom - but there are those who want to be classified as English, Scotish, Irish or Welsh - and NOT British.
(They are after all, four seperate countries with seperate identities.)
Also the Irish and Welsh flags are included but not English or Scottish.
I'm not criticising - just thought for the sake of 'completeness' you would like to know.
....and as for European .......SPIT!!!
(That's French (or European) for No Thank you!!!!)
Works fine for me so far very kewl
Is it possible to make those flags to show instead of where it says " From: " at the bottom of every post?