php forum
php mysql forum
php mysql smarty
 
Topic Options
#291631 - 03/30/01 09:35 PM RE: UBB 6: member number option in control panel hack
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
I dont know what happened to the text file I posted few days ago.

here is it


#########################
#
#Member number # option in CP hack
#Created By ELY M.
#
#it let you choice to keep memeber #'s viewable or Hide on the topic page ...
#

###
open cp_lib.cgi (cgi-bin)


find this

print FILE qq!author_location => "$in{author_location}",n!;
print FILE qq!author_reg_date => "$in{author_reg_date}",n!;
print FILE qq!author_post_total => "$in{author_post_total}",n!;


put this below

print FILE qq!member_number => "$in{member_number}",n!;

#######
open cp_vars_display.pl (Template)


find this line

&RadioField ("Show Total Topics/Posts/Both?", "ForumTotalOption", "yes", "On the first UBB display page that lists all of your forums, you may display either the total topics within each forum, the total posts within each forum, or both.", "$vars_display{ForumTotalOption}", "Topics|Display TOPIC count only.%%Posts|Display POST count only.%%Both|Display POST AND TOPIC counts.");


paste this after this ^^^^^


&RadioField ("show member number under usernames ?", "member_number", "yes", "It will be shown by her/his user name", "$vars_display{member_number}", "yes|YES, it can be seen and seen and could be dangerous!%%no|Dont show them hide them keep them private !");


###
open public_topic_page.pl (template)

find this line

my $row = qq~
<tr><td bgcolor="$alt_color" colspan="2">


PASTE THIS right before my $row = qq~


if ($vars_display{member_number} eq "no") {
$member_number = "";
}


It is control panel based hack


go in your CP and decide if you want member # to be shown or not


#######################################


Code:
code:

Top


Who's Online
0 registered (), 27 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks