Thread: Major Additions - AWCoding- Donation System
View Single Post
  #359  
Old 07-31-2008, 06:16 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CUSTOM STYLES
Styles and hooks for DropMenu Module:

Create a new phrase (http://www.yourdomain.com/admincp/ph...eldname=global)
A) Phrase Type = GLOBAL
B) Product = VBulletin
C) Varname = dsl_navbar_hook_X (X= the ID of the style, look at dsl_ navbar_ hook_ 1 for an example)
D) Text = Hook Data (look below for examples)

Code:
Examples:
Legend: {1}= ID for drop down menu {2}= Color for title {3}= URL link {4}= Title

Default: dsl_ navbar_ hook_ 1: 
<td id="{1}" class="vbmenu_control"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}"); </script></td>

#1: 
<td><img src="http://forum.X.com/images/centura/misc/nav_div.gif" alt="" /></td><td id="{1}" class="h_nav"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}"); </script></td>

#2: 
<td width="89" height="26" valign="top" id="{1}"><a style="color:{2};" href="{3}" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','http://forum.X.com/images/ogenzen/fluid/don2.png',1)"><img src="http://forum.X.com/images/ogenzen/fluid/don1.png" alt="TORRENT" name="Image20" width="89" height="26" border="0" /></a><script type="text/javascript"> vbmenu_register("{1}",true); </script></td>

#3: 
<td id="{1}" width="78" height="34" class="css_nav"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}",true); </script></td>

#4: 
<td id="{1}" class="nav_menu_control"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}"); </script></td>

#5: 
<td id="{1}" class="navbar"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}"); </script></td>

#6: 
<span id="{1}"><a style="color:{2};" href="{3}" accesskey="5" onmouseover="document.images.donatelink.src='images/voodoo/misc/donate_over.png'" onmouseout="document.images.donatelink.src='images/voodoo/misc/donate.png'"><img src="images/voodoo/misc/donate.png" id="donatelink" alt="" /></a></span><script type="text/javascript"> vbmenu_register("{1}",true); </script>

#7: 
<td><img src="http://forum.X.com/images/enlighten/misc/nav_div.gif" alt="" /></td><td id="{1}" class="h_nav"><a style="color:{2};" href="{3}">{4}</a><script type="text/javascript"> vbmenu_register("{1}"); </script></td>
The system uses default VB 3.7.x hooks in header/navbar named: $template_hook[navbar_buttons_left] and $template_hook[navbar_buttons_right]. If you do not have these hooks in header/navbar add them OR manually place:
Code:
{$AWCL['dropmenu']['header']}
where you would like it to display.

Upgrading
Load Software then transfer donations from OLD version to NEW then delete old software. So install the new version 1.0.0 and go to adminCP>AWCoding Software LITE>Transactions>Transfer>AWCoding> DONE! Then delete previous series of LITE and all files associated with it.

Make sure transactions transferred over before deleting old version. Again this is a new series so it does not interfere and is a totally new system then the old.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01152 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete