vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - vBH-Advanced Right Menu (https://vborg.vbsupport.ru/showthread.php?t=157275)

BuRaCh 09-06-2007 10:00 PM

vBH-Advanced Right Menu
 
Advanced Right Menu
Developer by BuRACH


Demo:www.vB-Hacker.com/forum
[/SIZE][/URL][/CENTER]
This hack create right menu at your site.
Right Menu
  • Advanced Userinfo and avatar..
  • Most 5 populer thread
  • Recent 5 post
  • Sponsor or promos banner.
  • Thread and post search box.

if you like this hack then push to ==>install button


install

1-) Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-burach_Menu.xml' from your computer then press 'Import'

2-) Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-right menu.xml' from your computer then press 'Import'

3- )Open the your have ftp home.add the -> hacksystem.php

4-) open the forumhome templates

find:
Code:

$navbar
Add under
Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"></center>

<td valign="top" width="80%" valign="top">

Find:
Code:

$footer
Add above
Code:

<if condition="$show['member']">
<td valign="top" width="20%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead"><center>Ho?geldiniz</center></td></tr></thead><tbody>
<td class="alt1" nowrap="nowrap">
<tr><if condition="$avatar_sor"><td valign="top" class="vbmenu_option">
 <center> <table cellpadding="0" cellspacing="0" border="0"><tr><td class="thead" align="center">$avatar_sor</td></tr></center>
  </td></if><br/>
<center> <table cellpadding="4" cellspacing="1" border="0">
        <tr><td class="thead" align="$stylevar[left]"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>       
        <if condition="$show['pmstats']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="$vboptions[bburl]/private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
        <if condition="$show['siglink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
        <if condition="$show['avatarlink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
        <if condition="$show['profilepiclink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr></if>
        <tr><td class="thead" align="$stylevar[left]">$vbphrase[miscellaneous]</td></tr>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
        <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr>
</table>
        </td></tr>
        </table>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead">$vboptions[hacksystem_mostpop] $vbphrase[hacksystem_mostpop]</td></tr></thead><tbody>

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<if condition="$vboptions['hacksystem_mostpop'] > 0">
$mostpopbits
</if>
</div>
</td>
</tr>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead">$vbphrase[hacksystem_recentposts]</td></tr></thead><tbody>

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<if condition="$vboptions['hacksystem_recentposts']">
$recentpostbits
</if>
</div>
</td>
</table>
<br>
                <form action="search.php?do=process" method="post">
                <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder">
                <tr class="tcat">
                        <td align="center">
<strong>$vbphrase[hacksystem_search]</strong>
                        </td>
                </tr>
                <tr>
<td valign="top" class="alt1">
<fieldset class="fieldset">
<legend>$vbphrase[hacksystem_searchopt]</legend>
<label for="all"><input type="radio" name="searchopt" value="all" id="all" CHECKED> $vbphrase[hacksystem_searchall]</label><br />
<label for="title"><input type="radio" name="searchopt" value="title" id="title"> $vbphrase[hacksystem_searchtitle]</lable><br />
<label for="txt"><input type="radio" name="searchopt" value="txt" id="txt"> $vbphrase[hacksystem_searchcontent]</label><br />
</fieldset>
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div>$vbphrase[hacksystem_keyword]:<br><input type="text" class="bginput" name="query" size="20" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
</table>
</form>
<br>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="200"> <thead><tr><td class="thead">Sponsor</td></tr></thead><tbody>
<td class="alt1" nowrap="nowrap">
 this you want object..
Sponsor Link or promos banners..
</td>
</table>


<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="200"> <thead><tr><td class="thead">Destekleyenler</td></tr></thead><tbody>
<td class="alt1" nowrap="nowrap">
<center><a href="http://www.vBulletin.com"><img src="http://img112.imageshack.us/img112/6370/vbcompy5.gif" border="0" alt="vBulletin Developer"/></a>
<br/>
<a href="http://vbulletin.org"><img src="http://img212.imageshack.us/img212/4466/vborglc2.gif" border="0" alt="vBulletin support"/></a></center>
</td>
</table>
</tr>
</table> </if>
<if condition="$show['guest']">
<td valign="top" width="20%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead">$vboptions[hacksystem_mostpop] $vbphrase[hacksystem_mostpop]</td></tr></thead><tbody>

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<if condition="$vboptions['hacksystem_mostpop'] > 0">
$mostpopbits
</if>
</div>
</td>
</tr>
</table>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead">$vbphrase[hacksystem_recentposts]</td></tr></thead><tbody>

<td class="alt1" nowrap="nowrap"><div class="smallfont">
<if condition="$vboptions['hacksystem_recentposts']">
$recentpostbits
</if>
</div>
</td>
</table>
<br>
                <form action="search.php?do=process" method="post">
                <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder">
                <tr class="tcat">
                        <td align="center">
<strong>$vbphrase[hacksystem_search]</strong>
                        </td>
                </tr>
                <tr>
<td valign="top" class="alt1">
<fieldset class="fieldset">
<legend>$vbphrase[hacksystem_searchopt]</legend>
<label for="all"><input type="radio" name="searchopt" value="all" id="all" CHECKED> $vbphrase[hacksystem_searchall]</label><br />
<label for="title"><input type="radio" name="searchopt" value="title" id="title"> $vbphrase[hacksystem_searchtitle]</lable><br />
<label for="txt"><input type="radio" name="searchopt" value="txt" id="txt"> $vbphrase[hacksystem_searchcontent]</label><br />
</fieldset>
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div>$vbphrase[hacksystem_keyword]:<br><input type="text" class="bginput" name="query" size="20" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
</table>
</form>
<br>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="200"> <thead><tr><td class="thead">Sponsor</td></tr></thead><tbody>
<td class="alt1" nowrap="nowrap">
 this you want object..
Sponsor Link or promos banners..
</td>
</table>


<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="200"> <thead><tr><td class="thead">Destekleyenler</td></tr></thead><tbody>
<td class="alt1" nowrap="nowrap">
<center><a href="http://www.vBulletin.com"><img src="http://img112.imageshack.us/img112/6370/vbcompy5.gif" border="0" alt="vBulletin Developer"/></a>
<br/>
<a href="http://vbulletin.org"><img src="http://img212.imageshack.us/img212/4466/vborglc2.gif" border="0" alt="vBulletin support"/></a></center>
</td>
</table>
</tr>
</table>
</if>

Modifications Info

Plugin : 22
Phrases : 0
Template : 1
Setting : 0

Versions:
v1.0 - 07 September 2007
-First release

v1.2- 08 September 2007
-Character problems fixed

V2.0 14 September 2007
- added to vBulletin options
-not see problem fixed..

V2.5 16 September 2007
- added to new Codes
and full problem fixed..

kaptanblack 09-07-2007 07:33 PM

First post :D

Thanks... Burach

*Installed*

BuRaCh 09-07-2007 07:50 PM

Thanks Kaptan;)

Fungsten 09-07-2007 08:16 PM

I'm getting the error:

Quote:

The following error occurred when attempting to evaluate this template:
The conditional on line 211 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

thepub 09-07-2007 08:27 PM

Quote:

The conditional on line 172 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.
I keep getting that message and I've looked through the whole thing trying to find the error but don't see it.

Fungsten 09-07-2007 08:30 PM

Quote:

Originally Posted by thepub (Post 1334458)
I keep getting that message and I've looked through the whole thing trying to find the error but don't see it.

It is missing one </if>. There are seven <if and six </if>.

On Edit:

I put the </if>

Quote:

<if condition="$show['member']"> <td valign="top" width="20%" valign="top"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead><tr><td class="thead"><center>Ho?geldiniz</center></td></tr></if>

in the first line. Now of course the error doesn't appear but we'll see if it works.

Fungsten 09-07-2007 09:20 PM

BTW, you might want to replace:

Quote:

Ho?geldiniz
in here:

Quote:

<thead><tr><td class="thead"><center>Ho?geldiniz</center></td></tr></thead><tbody>

That's what is showing up.

TheBlackPoet 09-07-2007 09:54 PM

i have that custom greeting in my navbar.. so, it jacked up my greeting... (not your fault).. but i will have to try this when i have the time to make the adjustment

Paxion 09-07-2007 10:24 PM

I can't get it to work.. i got the same /if error like everyone else. I've tried moving the /if to other locations. The missing /if has to be up top of the $footer script but i'm not 100% sure where.

Fungsten 09-07-2007 10:26 PM

Quote:

Originally Posted by Paxion (Post 1334531)
I can't get it to work.. i got the same /if error like everyone else. I've tried moving the /if to other locations. The missing /if has to be up top of the $footer script but i'm not 100% sure where.

Try what I said in post #6.


All times are GMT. The time now is 01:52 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.02353 seconds
  • Memory Usage 1,795KB
  • 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_code_printable
  • (7)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