vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   [Monkey's Works] - Registration Button (https://vborg.vbsupport.ru/showthread.php?t=143407)

Triky 03-27-2007 10:00 PM

[Monkey's Works] - Registration Button
 
[Monkey's Works] - Registration Button (Improve Registrations)
By Triky - Web City




Hi there, monkeys! This little template modification add a registration button under your forum navbar. This work like the vB original registration link in your navbar: if guest -> show. If member -> don't show.

Preview:

JoinNow_Off[Preview]

JoinNow_On[Preview]

Online Preview

Modification:

Quote:


Download the two images and upload them into your forum/images/misc/ directory, using your FTP.

In the navbar template of yor forum style search:
(AdminCp -> Styles & Templates -> Manager -> Edit Templates)

Code:


 
  <!-- / nav buttons bar -->

Below, add:

Code:


 
 
  <!-- Register Button -->



<if condition="$show['registerbutton']">



<if condition="THIS_SCRIPT != register">



<script type="text/javascript">

function mouseOver()

{

document.b1.src ="images/misc/register_on.png"

}

function mouseOut()

{

document.b1.src ="images/misc/register_off.png"

}

</script>

<a href="register.php$session[sessionurl_q]" rel="nofollow"><img style="display:block; margin:0 auto; text-align:center;" border="0" alt="Join $vboptions[bbtitle]!" src="images/misc/register_off.png" name="b1" width="283" height="89" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>



</if>

</if>



<!-- / Register Button -->


<!-- ------------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->

Modifications

<!-- / ----------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->



All the Best,
Triky
Monkey's Work - Web City Forum Online
http://www.web-city.it/

oldfan 03-28-2007 02:41 PM

could this image over lap my header image?
www.metallifukinca.com

thanks

Triky 03-28-2007 04:05 PM

No, but you will need to place the code into the header template. In this case, I suggest you to copy here your header code, so I can see where you can put the my modification. :)

rjmjr69 03-28-2007 05:26 PM

Nifty thanks

oldfan 03-29-2007 12:33 AM

I added the code into my header and it worked, the problem is I want it to overlay my header graphic.

smoovie 03-29-2007 01:18 AM

Try setting your header image as background and this as the logo.

oldfan 03-29-2007 01:24 AM

Quote:

Originally Posted by smoovie (Post 1214946)
Try setting your header image as background and this as the logo.

how i do that ?

Shazz 03-29-2007 01:56 AM

Like a welcome header telling you to join accept its a image :)

smoovie 03-29-2007 02:11 AM

Code:

<div id="hdr"><div id="logo"></div></div>

jagari 03-29-2007 05:19 AM

Hottt. o__o


All times are GMT. The time now is 07:11 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.01240 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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