vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mod Drop Down Hack ((FINAL)) (https://vborg.vbsupport.ru/showthread.php?t=26240)

voogru 12-27-2001 06:07 PM

How can i get rid of the extra blank space on my forms, works great but would be nicer if i could save a little space on this

http://forums.voogru.com

how do i get rid of the gaps :mad:

thanks

paulsmith 12-28-2001 10:25 AM

I tried to get this hack to work, and just could not succeed as something in the database seems to stop the hack working.

I have come to this conclusion in the following way.

I did a clean install of vbulletin as a test with no entries in the database, installed the dropdown hack and it worked first time.

However when i then edited config.php and changed the database back to my real populated database, the drop down disapeared!

Any ideas as this one has been driving me nuts.

Thanks

mvigod 12-29-2001 04:59 AM

Great hack!

Only problem I can see is for macintosh users. The moderator popup in 7 point is unreadable and worse is the extra inch of space to the left of the image and popup in that part of the table.

Anyone see this or have a fix? I can't figure out how to cure this on the mac w/out affecting the pc.

Ajay 12-31-2001 02:29 AM

Nice :) I just got vbulletin an hour ago and it's very easy to install!

Erwin 01-08-2002 05:55 PM

Easy! Thanks!

Smallville 01-13-2002 08:53 PM

I changed the background color of the drop box, but how do I get the font to be white.

Background = #003366
Font - #FFFFFF

Could somebody help? This is in the forumhome_forumbit_level2_post template. I edited the background color by changing the bold background part below
PHP Code:

<form><td bgcolor="#13486D" valign="middle" align="right" nowrap>
<
IMG align="absmiddle" SRC="images/team.gif">
<
SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; [B]background-color: #dfdfdf[/B]; font-family: Arial, Tahoma;" maxlength="20">
<
OPTION VALUE="#">moderators</OPTION>
<
OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr

to the color I wanted (#003366). NOW how do I change the color (when not selected) to white, but keep when selected white too? Thanks.

Twig Deez 01-14-2002 05:17 AM

Quote:

Originally posted by Smallville
NOW how do I change the color (when not selected) to white, but keep when selected white too? Thanks.
try this...

PHP Code:

<form><td bgcolor="#13486D" valign="middle" align="right" nowrap>
<
IMG align="absmiddle" SRC="images/team.gif">
<
SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; color: #ffffff; font-family: Arial, Tahoma;" maxlength="20">
<
OPTION VALUE="#">moderators</OPTION>
<
OPTION VALUE="#">----------------</OPTION>
$forum[moderators]</select></td></form></tr


Smallville 01-15-2002 01:15 AM

IT WORKED!!!

http://www.matrix-unplugged.com

Now, ONE (or a few) final question(s).

Can I get the arrow you click on the background color too? The color I want is #003366

ALSO (lol, want it perfect), when you scroll your mouse over a name the background around it turns blue with the dots around it. Can I have that blue as a certain color too (#003366)?? THANKS TO ANYONE WHO CAN DO THIS.

GO TWIG DEEZ. You're awesome.

Twig Deez 01-15-2002 01:21 AM

Quote:

Originally posted by Smallville
ALSO (lol, want it perfect), when you scroll your mouse over a name the background around it turns blue with the dots around it. Can I have that blue as a certain color too (#003366)??
i'm not so certain, but i believe that's your system colours;
like, whatever your menu selection colour is on your computer,
that's the highlight colour on the drop down menu.
same with the arrow... that's the 3d object colour on your system.

control panel > display > appearance.

i'm not sure if there's a way to override those,
and if there is... i don't know it. sorry!

theguru 02-08-2002 04:29 PM

This hack is the first time I ever installed one and with the help of a couple of kind people I was able to get it to work (I am a newbie). I do have a question. I would like my drop down boxes to be uniform in width but they are not depending on the length of my moderators usernames. 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. Can anyone help me with this?

Lesane 02-08-2002 04:51 PM

Me Again :D

U could change "moderator" to the width of your longest name from your moderators so that the widths are identic:

PHP Code:

<OPTION VALUE="#">moderators</OPTION


theguru 02-08-2002 04:59 PM

Could you explain that in a little more detail?

Lesane 02-08-2002 05:06 PM

Look at this site as example:

http://forums.411hype.com/

He changed "moderator" to "411's Moderators" so that all the dropdown boxes has the length of "411's Moderators".

If i check your forum then i c that the longest moderator is "bluegrassfootballfan", now change "moderator" to a title thats longer then that name and all the dropdown boxes are uniform in width.

Change "moderators" to "BluegrassPreps Moderators" and you will c what i mean ;)

theguru 02-08-2002 05:13 PM

Thanks for taking the time to help me out. Looks and works great!

lichtflits 02-09-2002 10:34 PM

hi
I installed the hack, but It's works only for 50%.
I copyed the code exactly but at one forum he gives just the old style.
see screenshot please.

does anybody now what the problem here is?

Lesane 02-09-2002 10:54 PM

Quote:

Originally posted by lichtflits
hi
I installed the hack, but It's works only for 50%.
I copyed the code exactly but at one forum he gives just the old style.
see screenshot please.

does anybody now what the problem here is?

If u readed the whole thread then u knew your problem already :p

Here:

its says in the instructions:

PHP Code:

Expand your category "Forum Home Page Templates" and 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 do the same for the template: forumhome_forumbit_level1_post

Done :D

lichtflits 02-09-2002 11:16 PM

exuses :rolleyes:
I sow it to late.

thx anyway :up:

Jawelin 02-12-2002 10:38 AM

Great and simple hack !!
Just something: if I hadn't no moderators for one area, should be too difficult to hide the entire drop-down box ?
How ?

Thanks.

clangrounds.com 03-10-2002 03:14 AM

http://forums.clangrounds.com

Not working... :( I'm running 2.2.3, and I get the box...but no names can be clicked when dropped...and a java error if I use my mousewheel to scroll down...

clangrounds.com 03-10-2002 12:41 PM

^ bump ^

pHAZE_1 03-30-2002 11:40 PM

works great, tight hack.. but um is there a way you can remove this the little picture and what would i change to make it say "HHT Mods" instead of "moderators"?

ShadowTech 04-22-2002 01:01 AM

Nice hack.. have it installed and working fine on 2.2.5.. I took the advice of people here about adding it to forumdisplay_forumbit_level1_post and it made it show when i went into a sub category .. however if that subcategory has a subcategory (little confusing yet?) you also have to modify forumdisplay_forumbit_level2_post ... then it will work ..

If ya don't know what i'm talkin about with the subcategories.. then I'll try to explain.. for forumdisplay_forumbit_level1_post that works for something like General>Subcategories(two level tree) .. and the level 2 is for like General>Subcategories>with one having a subcategory(three level tree) .. i kno that does't explain it too much.. but I tried.. lol .. anywas.. edit both of those templates.. along with the ones stated in the .txt file and the hack will work in all sections.

btw.. i added an updated .txt with the instructions i was talking about.

freeshares1 04-29-2002 07:19 AM

Thanks, I did have a problem but it was me not reading things correctly. Now it works great.

Thanks

phil (www.gamblingforums.net)

Preasidium 05-12-2002 08:37 PM

Ok I installed the hack and it works fine with one exception.

When i enter a sub forum it shows the drop down fine but its blank. Even tho im set to be a mod.

What I did:
I modified forumbit lvl1 & 2 post and forumhome lvl1 & 2 post then I edited my forumhome_moderator and my forumbit_moderatedby. I then modifies the header as instructed. I went over it and redid it 3 times. Still I get the same results.

http://www.molecularedesigns.com/VB-...php3?forumid=2

as u can see there .. No mods are visible even tho I am a mod *_*

Please help?

Prince 05-17-2002 02:48 PM

Is there any way to make it so the drop down does not display in forums where there are no moderators assigned?

S0uL 05-22-2002 11:11 PM

i still cant get this to work in my sub forums. and i have added it to both 2post and 1post.

S0uL 05-22-2002 11:18 PM

nevermind i got it working

DarkDraco07 05-24-2002 09:06 AM

i read the thread and didnt see the code for putting this in sub forums. whats the cod e?

DarkDraco07 05-26-2002 08:10 PM

can someone please help?

DarkDraco07 06-02-2002 05:20 AM

guess not..........

DarkDraco07 06-04-2002 04:18 PM

nm,. i played around with the code and got it to work in the sub forums

Schorsch 07-09-2002 10:03 PM

I get an Java script error when I wanna select a moderator!!!

Code:

Error on page

Line: 272
Char: 1
Error: Object expected
Code: 0

u can watch the error HERE

Whats wrong ?????? PLEASE help me!!!

thanks,
Schorsch

dreamhost 07-09-2002 10:23 PM

great hack, really clears up the real estate nicelly

Schorsch 07-09-2002 10:31 PM

don't u have a java script errro when u select a mod ?

dreamhost 07-09-2002 11:51 PM

no javaerrors at all here.
What I can't get is dropdown in subforums. I edited all 3 files as per the 6 pages of threads
http://connect.samstech.net/forums/f...p?s=&forumid=2
but as you can see still no drop down. Any ideas?

Schorsch 07-10-2002 12:09 AM

mmmhhh I reinstalled the hack and now it works great :D no idea what went wrong the first time :cheeky:

BIG thanks for this fine modification :)

regards,
Schorsch

Indy 07-12-2002 09:01 PM

Just checking :cool:

Schorsch 07-13-2002 12:43 AM

yes works fine on 2.2.6 u can look on my board I installed it ;)

cu
Schorsch

Indy 07-13-2002 08:22 PM

Easy, easy install! :D

Works great with V2.2.6

kaost451 07-14-2002 01:12 AM

Yes!! :) Seems like a popular modification, I'm just glad everyone is using this hack. I have always like that mod on ubb, and thought I would design it for vbulletin. Never thought it would be used this much. Good To See this mod heavily used on forums. If there isn't a version that is compatible with this hack, then I will be sure to update it. So don't worry..

Maybe I'll design a forum image hack, is there one out there? If so please leave a link.


All times are GMT. The time now is 12:18 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.02283 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete