Previous Thread
Next Thread
Print Thread
Rate Thread
#125431 05/04/2001 3:32 PM
Joined: Jan 2001
Posts: 27
Member
Member
Offline
Joined: Jan 2001
Posts: 27
is there a hack that doesn't show who's moderating the forum , i mean like " invisible " moderators ??

Sponsored Links
#125432 05/04/2001 7:19 PM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
You can do that manually editing the scripts and be more specific where you want to remove them.

#125433 05/05/2001 2:28 AM
Joined: Jan 2001
Posts: 27
Member
Member
Offline
Joined: Jan 2001
Posts: 27
well i want them to be moderator on all forums , but i don't want their name showing on the moderator columm in the ultimate cgi , but i don't wanna lose all the moderator names there , so what i need is a hack so i can choose what moderator names show and which don't . i did a good search on these forums but all i could find was a hack that removes all names , and that i don't want.

#125434 05/05/2001 11:39 AM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Use the Mega-Mod hack

#125435 05/05/2001 1:00 PM
Joined: Jan 2001
Posts: 27
Member
Member
Offline
Joined: Jan 2001
Posts: 27
i did that , but becuz i have the starshack installed it don't work , it messes up the ubb_library2 where as u know the starshack is installed.and i wouldn't know where to start making it work , i can install hacks but i don't know how to make them.

Sponsored Links
#125436 05/05/2001 9:19 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
For example what I did in my forums was just write out the elements of the Moderators array that I wanted to print, eg. If I had 6 moderators, and I only wanted to show 4, then wherever it printed the moderators name I just used $variable(arrayelement);
The way ubb does it it loop through all the array elements until it gets to the end of the array, then it stops printing moderators names.
Hope this helps.


I can't afford a good signature editor frown
#125437 05/06/2001 6:21 AM
Joined: Jan 2001
Posts: 27
Member
Member
Offline
Joined: Jan 2001
Posts: 27
cool , looks like i could use that , any change of posting a code example ?

#125438 05/06/2001 6:36 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Ohh jezz Im at work and cant access my ubb code from here. Umm for example in ultimate.cgi it reads the moderators from an array, splits it up, adds a comma and joins it all back together into a single variable.
Think its something like

@mods = split(/||^||/, $Moderator);
$Moderator = join(", ", @mods);

Now in any location you see the variable $Moderator being printed, simple erase that and put a reference to the actual array element, example

print "$mods(1) $mods(2)";

this would just print the first 2 moderators.

Hope you can understand what Im getting at.
Any probs let me know.


I can't afford a good signature editor frown
#125439 05/07/2001 1:15 AM
Joined: Jan 2001
Posts: 27
Member
Member
Offline
Joined: Jan 2001
Posts: 27
well i guess i see what u mean , now hopefully i can figure it out and get it to work , and i only have to do this in the ultimate.cgi ?

btw , thanks for helping me out here

#125440 05/07/2001 6:18 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
thats fine, you do it in any page that you want to customise the print out of the moderators, possibly in forumdisplay also


I can't afford a good signature editor frown
Sponsored Links

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)