vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Just Another Vbulletin Hack - JAVH 1 (https://vborg.vbsupport.ru/showthread.php?t=185403)

almannai 07-14-2008 10:00 PM

Just Another Vbulletin Hack - JAVH 1
 
About this hack:

It is javh not java :D
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

syrus.xl 07-15-2008 01:11 PM

Do you have a 'live' demo of what this does?

TIA

almannai 07-15-2008 01:15 PM

Quote:

Originally Posted by syrus.xl (Post 1575924)
Do you have a 'live' demo of what this does?

TIA

Yes here
http://quran.ketaballah.net/vb/

Thank you for reminding me

TilkiBey 07-15-2008 01:24 PM

"Unzip it. "

which zipped product?
i see only a xml file
and, i cannot see "javh_bg_img.gif"
pls reupload ur files again:)

almannai 07-15-2008 01:34 PM

Quote:

Originally Posted by TilkiBey (Post 1575939)
"Unzip it. "

which zipped product?
i see only a xml file
and, i cannot see ""
pls reupload ur files again:)

sorry...

I've included the javh_bg_img.gif in the zip file.

Modification is updated now

jlew24asu 07-15-2008 01:41 PM

what does this hack do? I dont speak arabic :)

almansoori 07-15-2008 01:52 PM

Good work

I wish you success

اتمنى لك التوفيق يخوي

almannai 07-15-2008 02:06 PM

Quote:

Originally Posted by jlew24asu (Post 1575951)
what does this hack do? I dont speak arabic :)

Yes

look at the attached images to get an idea

almannai 07-15-2008 02:08 PM

Quote:

Originally Posted by almansoori (Post 1575956)
Good work

I wish you success

اتمنى لك التوفيق يخوي

Thank you

hollosch 07-15-2008 02:11 PM

When i click the Demo-Link a Virus/Trojan-Alert displayed on my machine !!!
a *.gif file is infected !!!:mad:

shame on you !!!

tekram 07-15-2008 02:21 PM

https://vborg.vbsupport.ru/external/2008/07/47.jpg

Have a look here, shame !!!

almannai 07-15-2008 02:21 PM

Quote:

Originally Posted by hollosch (Post 1575969)
When i click the Demo-Link a Virus/Trojan-Alert displayed on my machine !!!
a *.gif file is infected !!!:mad:

shame on you !!!

can you please tell me what gif file that is infected

tekram 07-15-2008 02:22 PM

Have a look at my screenshot

almannai 07-15-2008 02:23 PM

Quote:

Originally Posted by tekram (Post 1575977)

the image is not cleare can you tell what its content

almannai 07-15-2008 02:26 PM

Quote:

Originally Posted by tekram (Post 1575981)
Have a look at my screenshot

I've removed that image

Can you please check if you have any other errors now.

Has anybody else had same warning??

almannai 07-15-2008 02:31 PM

I'm using Norton and never see this error before

I've taken this image from a friend

And am sure he didn't know about it too

Sorry for any trouble caused to any one of you

Anyway I have removed that image completely, so if you have any other error please let me know about it

Basboss 07-15-2008 02:35 PM

well, I'm not getting that warning by my anti virus!
but here is the link to that image
http://s5.directupload.net/images/080715/cvug48pv.jpg

I think this hack is about the floating DHTML menu, yeah?

almannai 07-15-2008 03:01 PM

Quote:

Originally Posted by Basboss (Post 1575994)
well, I'm not getting that warning by my anti virus!
but here is the link to that image
http://s5.directupload.net/images/080715/cvug48pv.jpg

I think this hack is about the floating DHTML menu, yeah?

Thank you.

I've also NEVER sees this warring before at all on my internet anti virus but anyway I've removed that image from my server just to make sure.

And yes it is floating menu with last # of posts.

Regards,

schlottkej 07-15-2008 05:08 PM

all you have in the zip is the .gif...

almannai 07-15-2008 05:15 PM

Quote:

Originally Posted by schlottkej (Post 1576132)
all you have in the zip is the .gif...

Sorry

I've reuploaded the file.

This is one of that days :(

ahmedeldeep 07-15-2008 06:15 PM

good job greating

SEOvB 07-15-2008 06:52 PM

this should be renamed to Just another useless vbulletin hack JAUVH 1

Kiint 07-15-2008 09:16 PM

The screenshots don't really show much....what they do show is all in another language, and the demo site doesn't show the hack from what I can see....sorry, I'll give this hack a miss. You need a better description and some better pictures.

almannai 07-16-2008 06:13 AM

Quote:

Originally Posted by ahmedeldeep (Post 1576169)
good job greating

Thank you
Quote:

Originally Posted by FRDS (Post 1576190)
this should be renamed to Just another useless vbulletin hack JAUVH 1

May be for you.
It is javh and it will stay javh whatever you tried .......

Quote:

Originally Posted by Kiint (Post 1576316)
The screenshots don't really show much....what they do show is all in another language, and the demo site doesn't show the hack from what I can see....sorry, I'll give this hack a miss. You need a better description and some better pictures.

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,

meraia 07-16-2008 10:29 AM

Thank you

almannai 07-16-2008 02:05 PM

Quote:

Originally Posted by meraia (Post 1576702)
Thank you

You welcome

KingPin6 07-17-2008 09:56 AM

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.

almannai 07-17-2008 11:22 AM

Good idea.

I will see how it can be done and included it in the hack.

maidos 07-17-2008 01:13 PM

please provide an english demo.

almannai 07-17-2008 01:25 PM

Quote:

Originally Posted by maidos (Post 1577710)
please provide an english demo.

I don't have english forum

But if KingPin6 don't minde he have it on his forum

in here

http://www.kpsforum.com/

the floating menu in the buttom of the secreen

o0Hubba0o 07-17-2008 02:31 PM

Quote:

Originally Posted by almannai (Post 1576552)
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.

almannai 07-17-2008 05:40 PM

Quote:

Originally Posted by KingPin6 (Post 1577586)
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,

almannai 07-17-2008 05:42 PM

Quote:

Originally Posted by o0Hubba0o (Post 1577742)
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

KingPin6 07-17-2008 06:53 PM

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.

almannai 07-18-2008 06:54 AM

Quote:

Originally Posted by KingPin6 (Post 1577901)
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

NAZIA 09-08-2008 09:31 AM

thanks.. Awesome. hack

almannai 09-19-2008 09:21 AM

Quote:

Originally Posted by NAZIA (Post 1617255)
thanks.. Awesome. hack

you welcome


All times are GMT. The time now is 05:23 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.01293 seconds
  • Memory Usage 1,839KB
  • 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
  • (4)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete