Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Just Another Vbulletin Hack - JAVH 1 Details »»
Just Another Vbulletin Hack - JAVH 1
Version: 1.00, by almannai almannai is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 07-14-2008 Last Update: 07-16-2008 Installs: 12
Uses Plugins Template Edits
Re-useable Code  
No support by the author.

About this hack:

It is javh not java
I always wanted to have my other site links on my forums. That is the main reason to build this hack. After that I added some useful links from the forum itself like start new thread if the user on forumdisplay page, add new reply when the user on show thread page, search, today posts, new unread posts, pmstatus, and others. That is for logged in users, for visitors they will see the login form and registration link.

Then to make the hack more usefull, I added the last # post on the forums in a marquee below the hot links.

The Javh 1 is the first hack of series of hacks, where each hack has a different implementation and uses. So Javh 2 will be a different than javh 1 and javh 3 will be different than 2 and so on. No idea what javh 2 will be about, but you may suggest or give an idea for a hack that is really needed by most VB forum admins.

Please note I added links to my site in the hot links of the hack options just to give you an idea of how hot links can be used. You need to change them to what ever you want or delete them if you wish after installing the product. Setting an empty link title or url will hide that link.

More Descriptions:
This hack is about a floating menu.

It has max of three rows of links and min two.

The first line has an external links of other sites or ads that the forum administrator need to add to his forum. This will be useful to drive visitor attention to some other pages. This line can be removed completely by setting empty titles or urls in the hack options, that is from title/url 1 to title/url 7.

The second line has links of the forum itself so when the member is logged in he will see new posts, today posts, search, pm status, and logout link. If the visitor is not a member or has not logged in member he will see the login form with registration link. More links will be added depending on the visitor current page, so if the visitor is on a showthread page a newreply link will appear, if he is on a forumdisplay add newthread link will appear.

The last line is marquee with the last # of posts.

The administrator can control almost everything in the hack like its background color or image, font color and size, and marquee direction.

The hack width is automatically adjusted but administrator can set its width to whatever he wants.

In version 1.1 a new close button been added to allow visitor to close the hack and it will not open again until the next browser session. The administrator can still change this to make "javh 1" always on and hide the close button from the hack options.



That's it no more talking. Screenshots will give you more idea about this hack.

Please remember to click Mark as Installed if you use this modification.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • The hack will always stay on bottom of the page.
  • Seven hot links can be added to the hack.
  • Most used links by your users are added in forum line links.
  • Last # of new posts in marquee included. Number of last post can be set by administrator.
  • Background image and color can be changed.
  • Font color and size can be changed.
  • Will help to get more registered users.
  • The administrator can set the hack background color, border color, border size and hack width.

Installations:
  1. download the product.
  2. Unzip it.
  3. Import XML file (as a product): AdminCP > Plugin System > Manage Products > [Add/Import Product].
  4. Go to hack options and edit it to suite your site link titles and urls, color etc...
  5. Upload javh_bg_img.gif to your forum images folder or you can upload any other background image if you wish. Just make sure its height is 54 px.

Demo:
[Arabic]http://quran.ketaballah.net/vb/
[English]http://www.kpsforum.com/

History:
v1.00 : First Release for vb 3.6.x and 3.7.x.
v1.10 : close button been added to close hack until new session starts.




The hack has been tested on vb 3.7 on IE7 and FF2.0

Enjoy

Show Your Support

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

Comments
  #32  
Old 07-17-2008, 02:31 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by almannai View Post
Ok my english is not perfect but here it goes again:

It is about a floating menu. The first line has an external links of other sites or ads that the forum administrator need to add.

The second line has links of the forum itself, so if user is on a showthread page a newreply link will appear, if he is on a forum a newthread link will appear. some others links displayed too, like search, today posts, last unread posts. If the visitor is not a member or has not logged in member the login form will be shown with registration link.

The last line is marquee with the last # of posts.

If this discreption is ok I will add it to main post here.

Regards,

That helped a lot, it is hard to tell what it was for if you don't know that language, but this description gave me a better idea. Along with the last demo site link you added. This is a very cool feature.
Reply With Quote
  #33  
Old 07-17-2008, 05:40 PM
almannai almannai is offline
 
Join Date: Oct 2007
Posts: 889
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KingPin6 View Post
thanx for the share , its not bad at all, only thing I would like to see added would be a way to minimize or close it either cookie based or per session.
Hi KingPin6

Your suggestion has been added please try to update your hack installation

Yes and one more thing can I add your site as demo on the main post here.

regards,
Reply With Quote
  #34  
Old 07-17-2008, 05:42 PM
almannai almannai is offline
 
Join Date: Oct 2007
Posts: 889
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by o0Hubba0o View Post
That helped a lot, it is hard to tell what it was for if you don't know that language, but this description gave me a better idea. Along with the last demo site link you added. This is a very cool feature.
You are most welcome

Gald you like it
Reply With Quote
  #35  
Old 07-17-2008, 06:53 PM
KingPin6's Avatar
KingPin6 KingPin6 is offline
 
Join Date: Sep 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, I changed line 314 to :
PHP Code:
if ($vbulletin->options['javh_mode']!='always'$javh_close_button='<td><IMG name="close info box" SRC="images/custom/close.png" width="10px" height="10px" border="0" style="cursor:hand"     onclick="hidejavhbox()"></td>'
also feel free to list it if you wish.
Reply With Quote
  #36  
Old 07-18-2008, 06:54 AM
almannai almannai is offline
 
Join Date: Oct 2007
Posts: 889
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KingPin6 View Post
thank you, I changed line 314 to :
PHP Code:
if ($vbulletin->options['javh_mode']!='always'$javh_close_button='<td><IMG name="close info box" SRC="images/custom/close.png" width="10px" height="10px" border="0" style="cursor:hand"     onclick="hidejavhbox()"></td>'
also feel free to list it if you wish.
Thanks and the close image even better.

Whoever want to use an image for a close button can replace this line

PHP Code:
if ($vbulletin->options['javh_mode']!='always'$javh_close_button='<td><input style="MARGIN-TOP: 0px; FONT-SIZE: 10px; WIDTH: 50px; FONT-FAMILY: Tahoma; HEIGHT: 18px" type="button" onclick="hidejavhbox()" value="close" ID="Butclose" NAME="Butclose"></td>'
with this line
PHP Code:
if ($vbulletin->options['javh_mode']!='always'$javh_close_button='<td><IMG name="close info box" SRC="images/close.png" width="10px" height="10px" border="0" style="cursor:hand"     onclick="hidejavhbox()"></td>'
you need to upload the close.png image attached to /vb/images folder
Reply With Quote
  #37  
Old 09-08-2008, 09:31 AM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.. Awesome. hack
Reply With Quote
  #38  
Old 09-19-2008, 09:21 AM
almannai almannai is offline
 
Join Date: Oct 2007
Posts: 889
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NAZIA View Post
thanks.. Awesome. hack
you welcome
Reply With Quote
Reply

Thread Tools

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 08:18 AM.


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.07990 seconds
  • Memory Usage 2,293KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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