Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderator Dropdown List Details »»
Moderator Dropdown List
Version: 1.00, by flup flup is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-27-2005 Last Update: Never Installs: 11
Template Edits
Is in Beta Stage  
No support by the author.

This hack is untested so you might see it as beta stage.

I've made this port from 2.2.x to 3.5.0b2 and now back to 3.0.7 so I hope I haven't left any bad variables.

++ What does this hack do?
This hack replaces the normale moderator column into a column holding a DropDown List with the managers, this makes your forum look better.

If there are any bugs just ask since I haven't tested it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-28-2005, 11:25 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked over your code, I can't see any variables in there that won't work in 3.0.7. (not 100% sure on $moderator[musername]) Thanks for porting this.
Reply With Quote
  #3  
Old 06-28-2005, 12:25 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll take a look on the original for $moderator[musername]
Reply With Quote
  #4  
Old 06-28-2005, 12:27 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<![CDATA[<a href="member.php?$session[sessionurl]u=$moderator[userid]">$moderator[musername]</a>]]
That's what it's saying in forumhome_moderator on 3.0.7 template so I think it'll work
Reply With Quote
  #5  
Old 07-18-2005, 07:10 PM
cyberphere32 cyberphere32 is offline
 
Join Date: Jun 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So ?
Does it work or not ?
Reply With Quote
  #6  
Old 07-19-2005, 05:18 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works. All the variables there work in 3.0.7.

If you choose not to believe us, backup your template code, simple as that.
Reply With Quote
  #7  
Old 07-30-2005, 12:01 AM
Twigz Twigz is offline
 
Join Date: Dec 2004
Location: Michigan
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work's Great Fella's.. Ty and keep up the Good work!
Reply With Quote
  #8  
Old 09-24-2005, 05:08 PM
MrGoodbyte MrGoodbyte is offline
 
Join Date: Nov 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in 3.08, too!

Reply With Quote
  #9  
Old 09-26-2005, 04:34 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack says : Next you want to edit your header section and add this script so
It runs correctly. So Go back to main style area, where you change
your colors, fonts, ect and you now have to add the script in "header" text box.

Look For This Code:
###############################

<!-- content table -->
$spacer_open

where do I locate -->> main style area, where you change
your colors, fonts, ect and you now have to add the script in "header" text box.
Reply With Quote
  #10  
Old 09-27-2005, 11:35 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastar
The hack says : Next you want to edit your header section and add this script so
It runs correctly. So Go back to main style area, where you change
your colors, fonts, ect and you now have to add the script in "header" text box.

Look For This Code:
###############################


<!-- content table -->
$spacer_open


where do I locate -->> main style area, where you change
your colors, fonts, ect and you now have to add the script in "header" text box.
If you go to your templates ection....where you normally use the drop box for "Edit/Add Templates" the initial option should be "All Style Options" its right there at the top


Edit:

To add a small bug (for my board anyway)

You have:

Code:
<form><td class="alt1"><div class="smallfont">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">Moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
I had to use this for it to work:

Code:
<form><td class="alt1"><div class="smallfont">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">Moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
<OPTION VALUE="#">$forum[moderators]</OPTION>
</select></td></form></tr>
And i'm running a heavily hacked 3.0.7 board
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04491 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete