Previous Thread
Next Thread
Print Thread
Rate Thread
#118941 05/13/2001 4:53 PM
Joined: Feb 2001
Posts: 27
Rob
Offline
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 27
Alright. I saw this at 411hype.com and when I tried it I couldnt get the moderators to show up in the box... Could someone please post the code on how to do this? Thanks

Sponsored Links
#118942 05/15/2001 4:57 AM
Joined: Jan 2001
Posts: 76
Member
Member
Offline
Joined: Jan 2001
Posts: 76
Yes this is a great hack!

It will be very good if someone will post the code smile

#118943 05/15/2001 6:13 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Ya, I am make that for ya, hold on a sec.

#118944 05/15/2001 6:19 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Easy, Ive done it on version 5 not on version 6, but it cant be that much different.

In the place it dumps the Moderator array, (in v5 its called @mods) it then joins it to a variable called $Moderator with commas between each moderator.
So the easiest way I can see to do it would be to find the spot it prints the variable $Moderator.
Replace that with something like

Depending on the number of moderators.
A better way would be to output the


I can't afford a good signature editor frown
#118945 05/15/2001 6:35 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Here ya go, I made this really fast so it might not work. Please tell me if it does! Well here it is: Mod Scroll v0.1

Sponsored Links
#118946 05/15/2001 6:37 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Well, just doing it the way I did would be easier.

#118947 05/15/2001 6:48 PM
Joined: Apr 2001
Posts: 26
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 26
Ok, this deifnately dosen't work. I'm pretty sure it involves something in the sub GetModLine in ubb_lib

#118948 05/15/2001 7:01 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Can someone put mine on their board and let me look at it? I am pretty sure it should work.

#118949 05/15/2001 7:06 PM
Joined: Apr 2001
Posts: 26
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 26
I did, all it shows in the menu is "Select" and "------"

#118950 05/15/2001 7:36 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Gamer had a look at your code, on the right track but you are a bit confused with select box.

You have


$Moderator

Problem 1.
The variable $Moderator is a variable where elements of the @Mod array put together with a comma seperating them ie (moderator1, moderator2, moderator3 etc...)
You need to refer to each array element speratley (or in a loop)!

Problem 2.
The variables need to be enclosed in option tags, ie

If they are not in these tags then they will not show up in the drop down box.

[ May 15, 2001 07:37 PM: Message edited by: BassTeQ ]


I can't afford a good signature editor frown
Sponsored Links
#118951 05/15/2001 8:02 PM
Joined: Dec 2000
Posts: 24
Member
Member
Offline
Joined: Dec 2000
Posts: 24
juss ask Jigga-Master..he's the owner of 411hype.com

#118952 05/16/2001 4:12 AM
Joined: Jan 2001
Posts: 76
Member
Member
Offline
Joined: Jan 2001
Posts: 76
Quote
quote:
Unfortunately it doesn't work frown

Take a look:
[Linked Image]
I have 3 moderators in this forum and i can not see them smile

Know i am trying what BassTeQ said.

5 minutes later...

I tryied what BassTeQ said but nothing.

I will send to Jigga-Master a pm smile

[ May 16, 2001 04:20 AM: Message edited by: stamatoulis ]

#118953 05/16/2001 5:49 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
John as I said in a earlier post I had done it on version 5 not version 6. So the moderators array in version 6 may have a different name, ie, its not called @mod, thats why ts not outputting any data in the select box.
As a test, where I had




change it to




Now if test1, test2 and test3 show up in the drop down box you know it works its just a problem with knowing what the origianal moderator array is called.


I can't afford a good signature editor frown
#118954 05/23/2001 11:04 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
I am ok with the UBB but not html but since you would be calling a variable and you seem to be having it look like
Code
code:
We need a variable in the option box.
and I dont think it would work since.it would look like
Code
code:

#118955 05/23/2001 11:18 PM
Joined: Mar 2000
Posts: 204
Member
Member
Offline
Joined: Mar 2000
Posts: 204
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=24&t=000092

Y'all are taking it way out of proportion. lol. It wasn't that hard. laugh

Although, it won't display "no one" if there is no moderator. But who cares, same difference. smile


-Never Underestimate The Power Of Stupid People In Large Groups.
#118956 05/23/2001 11:36 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
I think I figured it out! It is pretty easy I will post the hack in the forum once i get it documented

#118957 05/24/2001 12:39 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798


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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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
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)