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

Reply
 
Thread Tools
Details »»

Version: , by theguru theguru is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-08-2002 Last Update: Never Installs: 0
 
No support by the author.

I am a newbie and I thought I would install my first hack and I started with this drop down menu hack:

https://vborg.vbsupport.ru/showthrea...drop+down+menu

I installed it once, no dice, and then I installed it a second time, no dice. It looked pretty easy to me but I figured it had to be something I was doing wrong but then it happened...

The hack was not worked for me but when I recently added a new forum the hack kicked in and worked on the new forum only and not the old forums. I tried it again with another new test forum and sure enough the hack worked like a charm. I figure this is good news and I am not as dumb as a I look but my question is this, if the hack is working for new forums I create how can I get it to work on all of my exsisting forums? Is there an easy way to reset or re-index my exsisting forums so they will recognize the hack?

Please help me!

Show Your Support

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

Comments
  #2  
Old 02-08-2002, 07:07 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says this in the instructions:

PHP Code:
edit your "forumhome_forumbit_level2_post." 


Now Replace This Code:
------------------------------------


    <
td bgcolor="#13486D"><smallfont>$forum[moderators]</smallfont></td>
</
tr>


With This Edited Code:
--------------------------------

<
form><td bgcolor="#13486D" valign="middle" align="right" nowrap>
<
IMG align="absmiddle" SRC="https://vborg.vbsupport.ru/images/team.gif">
<
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>

Now Save Changes!! 
Now try to do the same with the template forumhome_forumbit_level1_post
Reply With Quote
  #3  
Old 02-08-2002, 03:49 PM
theguru theguru is offline
 
Join Date: Jan 2002
Location: Kentucky
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lesane,

Thanks, it worked right away. Like I said, I am new to this. I have one more question. The width of the drop down boxes is a little different in the forums where I have mods with longer usernames. How can I standardize this width?
Reply With Quote
  #4  
Old 02-08-2002, 04:02 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably where it says "maxlength="20":

PHP Code:
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20"
Reply With Quote
  #5  
Old 02-08-2002, 04:08 PM
theguru theguru is offline
 
Join Date: Jan 2002
Location: Kentucky
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem is not with the max length (it works fine with the longer usernames) its with the drop down menus that only have mods with short usernames are not as wide as the ones with the long usernames. In my way of thinking I need to code it so the drop down box has to be a certain width so all of the boxes are uniform.

Am I making sense?
Reply With Quote
  #6  
Old 02-08-2002, 04:24 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm... good question

Try to ask it in the drop-down-hack thread and maybe the maker of the template hack or somebody else knows the solution.

Good luck
Reply With Quote
  #7  
Old 02-08-2002, 04:24 PM
theguru theguru is offline
 
Join Date: Jan 2002
Location: Kentucky
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much.
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 11:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05780 seconds
  • Memory Usage 2,265KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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