Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2002, 11:44 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

It would be most wonderful if I could get some help or direction on where to find the little hacks that I was looking for, for my board. I surfed here and have been browsing around, but to be honest, it is a bit overwhelming and I can't seem to get what I want.

Six things that I wish to have on my vBB 2.2.1 board:

1- On the frontpage of the forum, there are the categories.
They are not attached to eachother, there is a space between the different categories.


2- Below each category topic is (in one table row) repeated: forum / posts / threads / moderator(s) .. This really gives each category as being its own forum.

3- When viewing a thread, every use has besides its username:
(username) [o]
a search glas, when moving mouse over it, it says: search for more threads from this user.


4- on http://www.macfora.com the frontpage of the forum has the boards listed, with a onmouseover highlight. The code which needs to be added, is what I know already.

onMouseOver="this.style.backgroundColor='#EFF2F5'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#ffffff';"

this needs to be in the <td .. > tag.

A moderator on vbulletin.com mentioned that this needs to be added in the template at forum ... on a 'bit' thing. But so far i haven't been able to find $forumbits


5- The portal of vbulletin.org is that the vbPortal 3.0 beta1 pr7.1 (where can i find the latest version?)

6- How can I alter the background of an category like on many forums, so it has an background image and not just a colour ? That way I could really give it a nice dimension.


I really hope to achieve either of the above 'hacks' for my www.creations.nl board, so I can make it more efficient and better looking.


Maybe it looks like a lot of 'wanna be, newbie' questions, but I am pretty new to the vbb and have been browsing the options and styles and templates to see if I could find it myself, but just couldn't so far. Maybe I just need a push in the right direction. And instead of just making 6 little individual requests, I just posted all the questions at once. Hope they are clear.. and I hope to get some replies



Fnx so far!
Reply With Quote
  #2  
Old 01-03-2002, 07:25 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


4- on http://www.macfora.com the frontpage of the forum has the boards listed, with a onmouseover highlight. The code which needs to be added, is what I know already.

onMouseOver="this.style.backgroundColor='#EFF2F5'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#ffffff';"

this needs to be in the <td .. > tag.

A moderator on vbulletin.com mentioned that this needs to be added in the template at forum ... on a 'bit' thing. But so far i haven't been able to find $forumbits


I got in touch with the smoothie the landlord of macfora and he mailed me back the following:

In order to change it: Alter > forumhome_forumbit_level2_post

And so I did ..

I looked that up in the ACP and opened the forumhome_forumbit_level2_post template and looked at it. I found:

Code:
<td bgcolor="{firstaltcolor}" align="left">
and replaced it with:

Code:
<td bgcolor="{firstaltcolor}" align="left" 
onMouseOver="this.style.backgroundColor='{secondaltcolor}'; 
this.style.cursor='hand';" 
onMouseOut="this.style.backgroundColor='{firstaltcolor}';" 
onClick="window.location.href='forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]'">
and saved the template.

You can see the result @ http://www.creations.nl/

Fnx smoothie & tubedogg for their help !

[thread on vBulletin.com] > here

[smootchie's site] > here



One down, five to go..
Reply With Quote
  #3  
Old 01-03-2002, 09:04 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2- Below each category topic is (in one table row) repeated: forum / posts / threads / moderator(s) .. This really gives each category as being its own forum.

On the frontpage of the forum (the index of the categories) each category now has its own indexing header.

The one that says: Forum / Posts / Threads / Moderator(s) is now below every category

The next step is to split up the categories from eachother so they really look like they are seperate boards. But how it looks now, is pretty cool too

Credits goto Smoothie from macfora.com who provided me with the right code!

Open your forumhome template.
Look for:

Code:
<tr align="center">
  <td bgcolor="{ tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" width="80%" align="left"><smallfont color="{ tableheadtextcolor}"><b>Forum</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Posts</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Threads</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" nowrap><smallfont color="{ tableheadtextcolor}"><b>Last Post</b></smallfont></td>
  <td bgcolor="{ tableheadbgcolor}" width="20%"><smallfont color="{ tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>
Note that there is a space between { and tableheadbgcolor}, but otherwise it will be parsed..


Cut that code and 'save' the template.

Now open the forumhome_forumbit_level1_nopost template.
Paste the code you cut from the other template below the last line of what
is currently there.
Save it
Now do the same for the forumhome_forumbit_level2_nopost template.
Save it.
And thats it. All done.

Sweet!


Two down, four to go.
Reply With Quote
  #4  
Old 01-04-2002, 12:31 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1- In the forumhome_forumbit_level1_nopost template I added this:
Code:
<tr align="center">
  <td bgcolor="{forumhomebar}" colspan="5" align="left">&nbsp;</td>
</tr>
change the color to fit your forum.

3- Add this in postbit template:
Code:
[<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]"><img src="{imagesfolder}/postbit_find.gif" border="0" alt="Find more posts by $userinfo[username]" align="middle"></a>]
after the $post[username] part.

5- Portal is custom made (by me).
If you want it contact me by e-mail.

6- Once again in forumhome_forumbit_level1_nopost template, add a background="xx.gif" attribute to the <tr id="cat"> tag.
Reply With Quote
  #5  
Old 01-04-2002, 05:21 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
1- In the forumhome_forumbit_level1_nopost template I added this:
Code:
<tr align="center">
  <td bgcolor="#0E3652" colspan="5" align="left">&nbsp;</td>
</tr>
change the color to fit your forum.

To seperate the categories from eachother, so they have a white line between them as done on www.creations.nl

Original 'hack?' by FireFly from vBulletin.org which sturred me into the right direction.
But instead of <td> I used <table> to split up, so we dont get those nasty lines on the side of the categories.


Goto the Admin Control Panel:

In order to split the categories from eachother:

Forum Home Page Templates
>> forumhome_forumbit_level1_nopost
at the top
Code:
</table>
</td></tr></table><br>
<table cellpadding="{ tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" { tableouterextra} width="{ contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" { tableinnerextra} width="100%">
(please note that in the above code there is a space between { and XXX} this is done because otherwise the vBB will parse it.)


And this one is a fix, so the 'currently active users' aren't sticky to the last categorie:

Forum Home Page Templates
>> forumhome
Just after $forumbits add:
Code:
</table>
</td></tr></table><br>
<table cellpadding="{ tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" { tableouterextra} width="{ contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" { tableinnerextra} width="100%">
(please note that in the above code there is a space between { and XXX} this is done because otherwise the vBB will parse it.)


For example of how it looks: www.creations.nl
And if you need specific help (i can try!): info@creations.nl
Reply With Quote
  #6  
Old 01-05-2002, 08:05 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
3- Add this in postbit template:
Code:
[<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]"><img src="images/postbit_find.gif" border="0" alt="Find more posts by $userinfo[username]" align="middle"></a>]
after the $post[username] part.

I found it and changed it, perfectly !! I also grabbed the search icon from this board, is that ok? Otherwise I go and search for another image! FireFly FNX > u r0xx0r
Reply With Quote
  #7  
Old 01-05-2002, 08:21 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's Sinecure's basically, but I think you can us it.
Reply With Quote
  #8  
Old 01-12-2002, 06:42 PM
jminiman jminiman is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FireFly,

I plugged in your code, but I have the expand/contract threads hack installed. When I contract the threads, I see the search icon. When I expand, it disappears. Check it out:

http://discuss.pocketnow.com/showthr...&threadid=3513
Reply With Quote
  #9  
Old 01-12-2002, 06:52 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jminiman
FireFly,

I plugged in your code, but I have the expand/contract threads hack installed. When I contract the threads, I see the search icon. When I expand, it disappears. Check it out:

http://discuss.pocketnow.com/showthr...&threadid=3513
You need to add the code you got from Firefly to the lower <div> section in your postbit template. You only have it in the upper one right now.
Reply With Quote
  #10  
Old 01-12-2002, 06:57 PM
jminiman jminiman is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, great. Thanks! It works. While you're around, and I know it's off topic, but which template allows me to hack the width of the row beneath "Discussion Subjects" on my forums home? Is it just $forumhome?
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 10:39 AM.


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.04756 seconds
  • Memory Usage 2,281KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (9)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete