Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Joined: May 2001
Posts: 71
Member
Member
Offline
Joined: May 2001
Posts: 71
ok i need help

i installed this hack on a 6.04e that has been hacked quite severely already but before this everything was in working order

now.....
i installed the hack and one of the previas hacks i had installed long ango was the mega mod hakc it was one of the first ones i added so i cant remove it prior to installing this hack

heres what i did since i saw no additions to this hack from anyone else and if there is i missed it

anyway EVERYWHERE in EVERY file ALL 3 of them if it was a section that the instructions said to modify and the new stuf or the replacement stuff didnt include any " MEGAMOD " line as the already existing files did i added just as other new lines are and i made soure to keep the megamod always ahead of the mod and gefore the admin and i did this to all lines where where the mod was

ok so basicly i added Megamod lines to all 3 modifications where they should be if ths where to have worked

now the problem is that when i go to set my member ranks and star#'s and crap
i get a funny error

this is that error

[Linked Image]
and here is how i had it set [note] I had the megamod set [note]


[Linked Image]
***EDIT***
ok in the feild where it has 31 for member i realize that is only for the profile ok thats dont with but...
the original field where i had 31 to reach full member status is still there and screwingthings up i think

what i have to do is place the 31 in the origanal feild not what your hack adds if i put it in the field your hack adds what it does is when i update my settings and come back that next time both field boxes have now duplicated the number 31 making it 3131 and i leave this way and update it again the next time i come backa fter that it will be 313131 and it just keeps doing if i dont manually change it everytime i update my settings


also now as i said i understand about the MEMBER thing

but when my users go from jr member to member rank 1 (10 posts@jr. and 61 posts@member rank1) it does not show correctly untill they hit 121 posts and advance to member rank 2 it completely skips showing the meber rank 1 status in posts and givng them the stars


and yes i fixed the thing that i posted these pics for i had to use the real mega mod add on but now my megamods have no status,no stars,no power, NOTHING even tho i used the megamod addon it still didnt work

but yes the problems named above were there before the megamod upgrade and are still there
[Linked Image]

[ June 01, 2001 02:49 PM: Message edited by: Murassmeblade ]


[insert irony here]
Sponsored Links
Joined: May 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 3
I get this error when I try to install it:

syntax error at /home/arena/www/ubb/Templates/public_topic_page.pl line 130, near ") "

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
How do i make the Admin stars like the ones on UBB5 (Stars 2001 Hack) I want like 10 stars to glow all with different colors for the admin.. it looks better. how do i do that!!?

Joined: Jun 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 5
Sorry if this has been addressed before... i noticed that the custom titles are not reported correctly in the various "profile" screens (your own and others' profile). I used this little hack to correct this:

##### in ubb_lib.cgi (cgi-bin dir) find:

sub CustomTitle {
local($custom_title);

if ($_[0] eq 'Administrator') {
$custom_title = "$vars_misc{AdminTitle}";
}
elsif ($_[0] eq 'Moderator') {
$custom_title = "$vars_misc{ModeratorTitle}";
}
elsif ($_[0] eq 'Member') {
$custom_title = "$vars_misc{MemberTitle}";
} elsif ($_[0] eq 'Junior Member') {
$custom_title = "$vars_misc{JrMemberTitle}";
}

return($custom_title);
} # end customer title sr

### change that to:

sub CustomTitle {
local($star_status);

if ($_[0] eq "Administrator") {
$star_status = "$vars_misc{AdminTitle}";
} elsif ($_[0] eq "Moderator") {
$star_status = "$vars_misc{ModeratorTitle}";
} else {
$star_status = "$vars_misc{NewbieTitle}";

if ($_[1] > $vars_misc{JrMemberPosts}) {
$star_status = "$vars_misc{JrMemberTitle}";
}
if ($_[1] > $vars_misc{MemberMinimum}) {
$star_status = "$vars_misc{MemberTitle}";
}
if ($_[1] > $vars_misc{Member1Posts}) {
$star_status = "$vars_misc{Member1Title}";
}
if ($_[1] > $vars_misc{Member2Posts}) {
$star_status = "$vars_misc{Member2Title}";
}
if ($_[1] > $vars_misc{Member3Posts}) {
$star_status = "$vars_misc{Member3Title}";
}
if ($_[1] > $vars_misc{Member4Posts}) {
$star_status = "$vars_misc{Member4Title}";
}
if ($_[1] > $vars_misc{Member5Posts}) {
$star_status = "$vars_misc{Member5Title}";
}

}

return ($star_status);
} #end hack

##### in: cp_users.cgi,ubb_lib_posting.cgi,ubb_pm.cgi,ubb_profile.cgi (all in cgi-bin)

##find:
&CustomTitle($user_profile[8]);

###change that to:
&CustomTitle($user_profile[8],$user_profile[7]);

#end

Hope this helps...
btw, compliments on this beautiful hack, my users LOVE it

Joined: Mar 2001
Posts: 41
Member
Member
Offline
Joined: Mar 2001
Posts: 41
Is there any way of just getting the stars part but not the custom status part? Or can i turn that off because I don't want my members to change their status.

Sponsored Links
Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
BUG ?

if u are a mod in one of the forum u become the "mod-status and stars" in all topics. also there u are no mod. too.

u understand ?

[ www.chat-board.de ]

Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
... ?

Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
bump laugh

Joined: Jun 2001
Posts: 10
KRW Offline
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 10
Hack works great except for one thing. The number of posts for member status is messed up now. If I enter '10' for min. number of posts to be a member, each time I update misc. settings the number already in the field is replicated. Sounds confusing, here is what I mean:
if I change the min. number to '10' and update, when I come back to look at it, it now says '1010'. If I update and come back again it says '10101010'. Any idea what is going on here?

Joined: Jun 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 1
Using 6.05, and it works GREAT! Got it working on my first try... very nice!

THANK YOU!!!!


[Linked Image]

[ July 11, 2001 01:19 AM: Message edited by: E.J. Hunyadi ]

Sponsored Links
Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
Quote
quote:

the same ... (only on the second line!?)

Joined: Jun 2001
Posts: 10
KRW Offline
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 10
I'm sorry melder, I don't understand what you mean.

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Hey all...sorry I haven't been around in a while; I've been programming a really nice chat script called "Ultima Chat 2001", which is really shaping up...I'm taking a break from working on it right now to come here and help out smile.

KRW, read this thread through, someone else had the EXACT same problem, and I told him/her how to fix it.


-DT
Joined: Jun 2001
Posts: 10
KRW Offline
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 10
Missed it the first time, thanks man.

Joined: Jul 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 6
I installed it, and now when I go into cp.cgi, after logging in I get this error.
Software error:

Can't modify constant item in scalar assignment at /d02/sec/s17/a0004xsu/cgi-bin/vars_misc.cgi line 13, near "q~Member~," Compilation failed in require at cp_lib.cgi line 405.
For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error.

and I can't even access ultimatebb.cgi it gives me this error.

Error including required files:
Make sure these files exist, permissions are set properly, and paths are set correctly.


Quick I need help, even when I put my backup files back, it doesn't work...

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
[never mind - I found my answer]

[these forums wouldn't be so cluttered if you let us delete our own posts, y'know?]

[ July 31, 2001: Message edited by: jgeoff ]


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: Jul 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 2
can this be made where you a persons status is controled from the cp?

Joined: May 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 4
Hi,

It's a great hack that you made!!!! But i found a small bug! The titel from jr.member is not changing in to member! See this:

if ($user_profile[7] > $vars_misc{JrMemberPosts}) {
$thesestars = $JrMemberStarURL x $vars_misc{JrMemberStarNum};
$star_status = "$vars_misc{JrMemberTitle}";
}
if ($user_profile[7] > $vars_misc{Member1Posts}) {
$thesestars = $Member1StarURL x $vars_misc{Member1StarNum};
$star_status = "$vars_misc{Member1Title}";
}
if ($user_profile[7] > $vars_misc{Member2Posts}) {
$thesestars = $Member2StarURL x $vars_misc{Member2StarNum};
$star_status = "$vars_misc{Member2Title}";
}

You forgot one section to add! It must be:

if ($user_profile[7] > $vars_misc{JrMemberPosts}) {
$thesestars = $JrMemberStarURL x $vars_misc{JrMemberStarNum};
$star_status = "$vars_misc{JrMemberTitle}";
}
if ($user_profile[7] > $vars_misc{MemberPosts}) {
$thesestars = $MemberStarURL x $vars_misc{MemberStarNum};
$star_status = "$vars_misc{MemberTitle}";
}

if ($user_profile[7] > $vars_misc{Member1Posts}) {
$thesestars = $Member1StarURL x $vars_misc{Member1StarNum};
$star_status = "$vars_misc{Member1Title}";
}
if ($user_profile[7] > $vars_misc{Member2Posts}) {
$thesestars = $Member2StarURL x $vars_misc{Member2StarNum};
$star_status = "$vars_misc{Member2Title}";
}

That's it.

Cya!!! laugh wink

[ August 05, 2001: Message edited by: coolwarez ]

Joined: Sep 2000
Posts: 13
Member
Member
Offline
Joined: Sep 2000
Posts: 13
I have installed this hack and it worked perfectly. Better than the old stars hack since this one you could change the names and stars a lot easier in the CP.

However I have several ranks that I had on my old 5.xx boards and they had a picture and stars under the rank. I tried to first see if I could add a 6th rank from your mod and it worked just fine. Then I went ahead and did 20 ranks and when I uploaded everything it made everyone the rank of Member except Moderators and Admins had their correct ranks.

Any suggestions on how to fix this or another stars/rank that allows what I am wanting?

Joined: Jul 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 9
Dark Templar I sent you a PM with my question on the script instead.

Thanks,
WxGuru

[ August 26, 2001: Message edited by: WxGuru ]

Joined: Aug 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 16
Great hack, just installed it and it works perfectly.

Joined: Jul 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 16
I installed this on 6.05, it only seems to be recognizing the default statuses for UBB. It shows stars...and it lets me set the amount of stars for jr. member, member, mod, and admin, but i can't effectively set ranks or statuese for any other statuses above Member..help! eek

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
MadCow- Looks like an error in cp_lib.cgi; check the coding in there.

coolwarez- that's a feature, not a bug

Saturn- make sure you edited EVERY FILE to reflect the updates. Including cp_lib.cgi.

insanemonkey: you can see the places to set it in the cp? if so, then it's a problem with either cp_lib.cgi or public_topic_page.pl


-DT
Joined: Jul 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 16
DT: I'm still having problems. What is so strange is, when I view someone's profile, it shows their correct member status. But on the topic page, it just shows either jr. member or member (or mod/admin).

i checked to see if i left out anything in the files you mentioned and it was all correct. hell the cache is even off.

What could it be?

[ September 05, 2001: Message edited by: insanemonkey ]

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Check the following things for me:

*Can you see the place to enter all the new member fields in the CP?

*Download and open vars_misc.cgi from your web host, and see if it has the new fields in it.

(These things help isolate the problem)


-DT
Joined: Sep 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 6
if it says u havent completed all of the fields, click back, and fill in those fields, it doesnt matter what u put, just u cant leave em blank

Joined: Sep 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 6
whoops, didnt see the pages after the first, sorry so behind on the help smile

Joined: Jul 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 16
Quote
quote:
yes and yes. are there any known conflicts with existing hacks? I have a good amount installed...

Joined: Sep 2001
Posts: 23
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 23
Doesn't work....... I don't see the Stars install....... When i push update i get this:
You did not complete all required fields.
You did not complete: MemberMinimum
You did not complete: AdminTitle
You did not complete: ModeratorTitle
You did not complete: MemberTitle
You did not complete: Member1Title
You did not complete: Member2Title
You did not complete: Member3Title
You did not complete: Member4Title
You did not complete: Member5Title
You did not complete: Member1Posts
You did not complete: Member2Posts
You did not complete: Member3Posts
You did not complete: Member4Posts
You did not complete: Member5Posts
You did not complete: JrMemberTitle
You did not complete: JrMemberPosts
You did not complete: NewbieTitle
You did not complete: NewbieStarNum
You did not complete: JrMemberStarNum
You did not complete: MemberStarNum
You did not complete: Member1StarNum
You did not complete: Member2StarNum
You did not complete: Member3StarNum
You did not complete: Member4StarNum
You did not complete: Member5StarNum
You did not complete: ModeratorStarNum
You did not complete: AdminStarNum
You did not complete: NewbieStarURL
You did not complete: JrMemberStarURL
You did not complete: MemberStarURL
You did not complete: Member1StarURL
You did not complete: Member2StarURL
You did not complete: Member3StarURL
You did not complete: Member4StarURL
You did not complete: Member5StarURL
You did not complete: ModeratorStarURL
You did not complete: AdminStarURL


What shall i do???

Joined: Sep 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 6
I know a few have posted this question already, but i cant figure out how to fix it from previous posts...
I installed everything, and everything appears to be fine as far as no errors, but then when i go to primary settings - miscellaneous
Nothing is there as far as the hack, i have updated everything, plus installed everything, please help

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
insanemonkey: Looks like the trouble is in the public_topic_page.pl template...double and triple check that is hacked properly and uploaded to the proper location

subchronic: Check cp_vars_misc.pl template


-DT
Joined: Sep 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 6
thanx, got it to work, relized later that night when i wuz lookin into it(with tha help of my minimal cgi knowledge) i relized that if it wasnt showin up in tha cp then there must be sumthin messed up with the cp misc template, so i went in, and for sumreason when i uploaded it the first time, it didnt replace the old one, so i reedited it, and also intregated the mega mod in to the table, then it worked

Joined: Jul 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 8
I'm trying to add to this hack, but I'm not having any success. I want to have the option to choose a tribe, and then they can get the rank scheme for that tribe. (If they choose tribe "Alpha", they get the Alpha ranks. If they choose "Beta" tribe, they get the Beta ranks....

In the vars_misc.cgi I turned this:
------------------------------------------------
JrMemberStarURL => q~lt.jpg~,
MemberStarURL => q~lt.jpg~,
Member1StarURL => q~lt.jpg~,

------------------------------------------------

into:
------------------------------------------------
JrMemberStarURL => q~$vars_config{VariablesPath}/jrmember_rank.cgi~,
MemberStarURL => q~$vars_config{VariablesPath}/member_rank.cgi~,
Member1StarURL => q~$vars_config{VariablesPath}/member1_rank.cgi~,

------------------------------------------------
and it goes on and on

The jrmember_rank.cgi looks like this:

if ($user_profile[9] eq "alpha") {
$redirect = $vars_alpha_rank{Member1StarURL};
else ($user_profile[9] eq "beta") {
$redirect = $vars_beta_rank{Member1StarURL};


My vars_alpha_rank.cgi and vars_beta_rank.cgi look just like vars_misc.cgi

I also added the all the above files to be required in the ultimatebb.cgi

Here is the exact error I am getting:
Quote
quote:
I'm still new at Perl and CGI, and there is a 99.9% chance that my code is wrong. frown I just need some assistance, or even if this is possible.

If needed, we can discuss this over AIM or MSN Messenger. Just ask for my screen name. smile

[ 10-08-2001: Message edited by: trek9999 ]

Joined: Oct 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 1
Is there a multihack version of this hack out?
confused

Joined: Aug 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 1
I can't find the line :
print FILE qq!JrMemberTitle => q~$JrMemberTitle~,n!;

in the cp_lib.cgi file
plz help me cool laugh

Joined: Jun 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 27
nice hack/addon, but i have 2 question.

first :
after i already install this hack and set everything in the cp.cgi, i set the member status that post 0-24 msg become "Starter", everything look perfect in the forum, but in the user profile, that member status still "Junior Member".

i know it's not a big problem, but are there any solution for that problem ?

second :
N/A - 24 post : title = Starter
25 - 49 post : title = Junior Member
50 - 99 post : title = Member
100 - 174 post : title Senior Member
and so on.
the problem is, the member that already posted 71 msg should get "Member" status, but in my ubb, that member get "Junior Member" status. could someone tell me what's wrong with that ?

thanks for the advance and sorry for my poor english

[ 11-16-2001: Message edited by: Griffin^ ]


Griffin^
Joined: Nov 2001
Posts: 63
Member
Member
Offline
Joined: Nov 2001
Posts: 63
help man.
error in cp.

/web/sites/143/denisjp/www.xgamersforum.f2s.com/cgi-bin/cp_lib.cgi: syntax error at /web/sites/143/denisjp/www.xgamersforum.f2s.com/cgi-bin/cp_lib.cgi line 940, near "tle", "" "use" not allowed in expression at /web/sites/143/denisjp/www.xgamersforum.f2s.com/cgi-bin/cp_lib.cgi line 1034, near "not " syntax error at /web/sites/143/denisjp/www.xgamersforum.f2s.com/cgi-bin/cp_lib.cgi line 1034, near "not use any " syntax error at /web/sites/143/denisjp/www.xgamersforum.f2s.com/cgi-bin/cp_lib.cgi line 1034, near " "

Joined: Nov 2001
Posts: 436
Member
Member
Offline
Joined: Nov 2001
Posts: 436
I had the other custom status hack installed, where you control it through the CP, I wonder if this will effect that at all?

[ 11-25-2001 02:08 PM: Message edited by: BloggerMan ]

Joined: Nov 2001
Posts: 436
Member
Member
Offline
Joined: Nov 2001
Posts: 436
I installed the hack and got this error when I tried to do anything in the CP:
--------------------------------
Error including required files: syntax error at /home/thegrabb/public_html/forums/cgi/cp_lib.cgi line 830, near "tle", "" syntax error at /home/thegrabb/public_html/forums/cgi/cp_lib.cgi line 917, near "P>" "use" not allowed in expression at /home/thegrabb/public_html/forums/cgi/cp_lib.cgi line 917, at end of line syntax error at /home/thegrabb/public_html/forums/cgi/cp_lib.cgi line 917, near " " Compilation failed in require at /home/thegrabb/public_html/forums/cgi/cp.cgi line 52. Make sure these files exist, permissions are set properly, and paths are set correctly.
---------------------------------

Why is this and how can I fix it?

Joined: Nov 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 3
Dark Templar,

I am trying to install this hack but I keep getting memory errors. I am just copying and pasting the code from your site, to my files. I did both the "pl" files but when I started to try and change the cgi file I got a "Notepad is out of memory" error. How can I get around this?

Thanks!

Marc

Page 4 of 5 1 2 3 4 5

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
Posts: 70
Joined: January 2007
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
Morgan 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)