vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Yet Another Awards System 2.1.4 (https://vborg.vbsupport.ru/showthread.php?t=142487)

CLF 02-21-2008 02:11 AM

Quote:

Originally Posted by CLF (Post 1447757)
Amazing! I'm working on my images right now. However, I got one question. I edited all the templates like instructed, but in the last one (NAVBAR) I couldn't find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

...therefore I didn't know where to add this:

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->


Does nayone know where to put this code into my NAVBAR?

Thank you!
CLICKED INSTALL! :)

Please, anyone... THANK YOU!

CLF 02-21-2008 03:44 AM

Quote:

Originally Posted by CLF (Post 1447757)
Amazing! I'm working on my images right now. However, I got one question. I edited all the templates like instructed, but in the last one (NAVBAR) I couldn't find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

...therefore I didn't know where to add this:

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->


Does nayone know where to put this code into my NAVBAR?

Thank you!
CLICKED INSTALL! :)

Looks like the author of this hack has not logged in in quite some time, so I would need to quote myself and ask again if anyone here knows the answer for my question. Please, anyone... THANK YOU!

CLF 02-21-2008 02:26 PM

Quote:

Originally Posted by bmwusa (Post 1362356)
yup it is working perfect.... :) vbulletin 3.6.8 :)

just one thing i couldnt find this:

HTML Code:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
on the navbar

so idont know where this goes...

HTML Code:

<!-- show awards -->
                <td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->

my navbar look like this:

HTML Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->

</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>       
       
        <if condition="$show['member']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if><br />
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a>




                </div>
                </td>
               
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       
       
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<br />

any ideas where to put the other missing thing????

thank you!!!:p


Same problem here. It looks like nobody has an answer to this question. I hate quoting myself and the author hasn't logged in in quite some time now.
SOMEBODY?
Thank you!

therogueforums 02-21-2008 04:01 PM

Would someone running 3.7 beta please PM me the Memberinfo template they are using, so I can try to add this hack. Every time I try, it freezes the Ajax, and everything gets weird. Looking at a stable template would help out a lot.

R-D 02-21-2008 10:10 PM

Quote:

Originally Posted by CLF (Post 1448140)
Same problem here. It looks like nobody has an answer to this question. I hate quoting myself and the author hasn't logged in in quite some time now.
SOMEBODY?
Thank you!

Try the "header" template.

CLF 02-21-2008 11:21 PM

Quote:

Originally Posted by R-D (Post 1448389)
Try the "header" template.

Thank you for the response. I just checked it... No, it's not there either.
Any ideas? Thank you!

mousegeek 02-22-2008 01:06 AM

Will this work on 3.6.8??

PoetJA-1975 02-22-2008 01:19 AM

Quote:

Originally Posted by CLF (Post 1448411)
Thank you for the response. I just checked it... No, it's not there either.
Any ideas? Thank you!

That bit of code is used only to show the link to the Awards page - your navbar template may be differenct from the default vB style if you've added a different skin...

PM me your navbar template and site url - I'll find where to put the code for you ;)

Jacquii.

PoetJA-1975 02-22-2008 01:21 AM

Quote:

Originally Posted by mousegeek (Post 1448438)
Will this work on 3.6.8??


Yes - works wonderfully on my vB 3.6.8 PL2 install: http://jpicforum.info/awards.php

Jacquii.

mousegeek 02-22-2008 02:50 AM

I can't seem to get it to display in my Admin Cp but in my Mod CP I can find it on the colomum. Any reason how to get it to show on my Admin CP coloum??


All times are GMT. The time now is 04:45 AM.

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.01757 seconds
  • Memory Usage 1,792KB
  • 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_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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