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)

alfieuk 01-28-2008 11:00 PM

Works on 3.6.8 perfectly ;)

Thank you

mvigod 01-30-2008 11:43 AM

The only thing I can see is you have it below your signature line. You want it below your icon's as below

Quote:

Originally Posted by MalebolgiaHR (Post 1430763)
The only other mod in the template is an unrelated if condition. I highlighted the mods in read.

Find:
Code:

<div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                    <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add below:
Code:

<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>


TCE Killa 01-30-2008 12:56 PM

I installed this along time ago, it is brilliant and running very well on 3.6.8.

MalebolgiaHR 02-01-2008 03:42 PM

It seems like there is nothing wrong with that code segment, because when I do a new post it comes up and shows the awards. However, if I am veiwing threads, the awards do not show up on the posts. From the troubleshooting I have done, I can see that the $show[userawards] and $post[userawards] array values are not set. So, I am wondering if I missed some coding for this, and where the code that sets these values would be for viewing threads as opposed to a new post.

Does that make sense?

Quote:

Originally Posted by mvigod (Post 1432395)
The only thing I can see is you have it below your signature line. You want it below your icon's as below



Find:
Code:

<div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                    <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add below:
Code:

<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>



majordork82 02-03-2008 12:39 AM

Quote:

Originally Posted by techenigma (Post 1333978)
edit: Thanks to Toucan42, I found the frameset tag and all, I have the box and assorted text removed. Thanks for the help there.

For anyone wondering how to remove the awards showcase box in your post pit do the following:
- Go into your style/template manager
- Into the style you have the mod installed under
- Open the post_bit legacy template.
Remove the <fieldset> and <legend> tags also be sure to remove their closing tags as well i.e </fieldset> and </legend>

If you want to remove the space in between the awards do the following:
Go into your style/template manager
Into the style where the mod is installed
Open the Yet Another Awards System Templates tab
Open the Awards bit template
Remove the following at the very end of the code: &nbsp;
Now all the awards will be right next to each other.


I still need to figure how to get it to wrap after 5 awards though, anyone can help?

So I tried this on my site but it didn't seem to work. I was nervous to delete anything that said "class" though (as a lot of the "fieldset" things said "<fieldset class="fieldset">"). Is this what I actually delete? Someone please help me. Thanks

majordork82 02-03-2008 12:47 AM

If it helps here is my coding, maybe someone can help me?

Quote:

HTML Code:

$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
        <if condition="$show['announcement']">
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
                        <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
                        <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                </td>
        <else />
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>               
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->                               
                </td>
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
                        &nbsp;
                        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
                        <if condition="$show['inlinemod']">
                                <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
                        </if>
                </td>
        </if>
</tr>
<tr valign="top">
        <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
                       
                        <div id="postmenu_$post[postid]">
                                <if condition="$show['profile']">
                                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                <else />
                                $post[musername]
                                </if>
                        </div>
                       
                        <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                        <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                        $template_hook[postbit_userinfo_left]
               
                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>
                       
                        <div class="smallfont">
                                &nbsp;<br />
                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>
                                $template_hook[postbit_userinfo_right_after_posts]
                                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                $template_hook[postbit_userinfo_right]
                                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>




<!-- show awards -->
<if condition="$post[showuserawards]">
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>

</if>
<!-- /show awards -->




                        </div>                                       
               
        </td>
        <if condition="$show['moderated']">
        <td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        <else />
        <td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        </if>
                $template_hook[postbit_messagearea_start]
                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <if condition="$post['title']"><strong>$post[title]</strong></if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        <!-- / icon and title -->
                </if>
               
                <!-- message -->
                <div id="post_message_$post[postid]">$post[message]</div>
                <!-- / message -->
       
                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">
                       
                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                               
                        </if>
               
                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                               
                        </if>
                       
                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>
                       
                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>
                       
                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>               
                        </if>
                       
                        </div>
                <!-- / attachments -->
                </if>
               
                $template_hook[postbit_signature_start]
               
                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
               
                $template_hook[postbit_signature_end]
               
                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                <em>
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>
       
        </td>
</tr>
<tr>
        <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
                $post[onlinestatus]
                <if condition="$show['reputationlink']">
                        <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                        <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
                </if>                               
                <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
                <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
                $post[iplogged]
                &nbsp;
        </td>
        <if condition="$show['moderated']">
        <td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
        <else />
        <td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
        </if>
                <!-- controls -->
                <if condition="$post['editlink']">
                        <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
                        <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                </if>
                <if condition="$post['forwardlink']">
                        <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                </if>
                <if condition="$post['replylink']">
                        <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                </if>
                <if condition="$show['multiquote_post']">
                        <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
                </if>
                <if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                </if>
                <if condition="$show['moderated']">
                        <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                </if>
                <if condition="$show['deletedpost']">
                        <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
                </if>
                <if condition="$show['redcard']">
                        <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
                <else />
                        <if condition="$show['yellowcard']">
                                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                        </if>
                </if>
                $template_hook[postbit_controls]
                <!-- / controls -->
        </td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
        </if>
        $template_hook[postbit_user_popup]
        </table>
</div>
<!-- / post $post[postid] popup menu -->



MatthewH12 02-03-2008 11:29 PM

Running VB Version 3.6.8 Patch 2 and VBAdvanced and on VBA's site navigation it has an awards link, which I want, except it says this:

Not Found

The requested URL /->options[bburl]}/awards.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Also, under the site navigation settings it says:
This setting has been customized in the following page(s):
1 Pages -- Homepage
This setting has previously had a custom value set for it in the page(s) listed above. The value set in any of these pages will override the value set here. To change the value of this setting on these pages, you must edit the page and change the value there, or revert the setting on that page so it will use the value set here.

and I have no idea what that means.

Any ideas?

Thanks!

Zero2Cool 02-04-2008 11:27 AM

It's possible to give a award to members from a special usergroup?
Incl. automatic giving und removing.

KenDude 02-05-2008 01:22 PM

Quote:

Originally Posted by Zero2Cool (Post 1436027)
It's possible to give a award to members from a special usergroup?
Incl. automatic giving und removing.

Right now you cannot give awards by usergroup, I really wish that was an option because I have a large group I'd like to give all of them an award. Additionally, I have a bunch of people that I've given awards to in the past and I'd like to create a new usergroup based on the people who have a certain awards so it would be great if someone could tie together usergroups and this award system in an update.

I am running on VB 3.6.8 SP2 without any problems.

therogueforums 02-05-2008 02:59 PM

All I'd like to do is to be able to add this to the user profiles for 3.7. Perhaps in the Statistics block or something. However, when I try to add the code, it messes up the profile, and suspends the AJAX.

*sigh* Hopefully someone will get to this.

edytwinky 02-06-2008 07:57 PM

Any way to make the awards page private to only members logged in?

Hannan 02-08-2008 02:55 AM

Nice MOD, thank you

therogueforums 02-08-2008 08:22 AM

Would anyone be willing to contact the author, and make a go at getting this 3.7 compatible?

MalebolgiaHR 02-09-2008 01:38 PM

Quote:

Originally Posted by MalebolgiaHR (Post 1402160)
Ok, I have a strange issue. I can see the awards when I do a post, but when I come back to the post later, the awards are not there. Has anyone else seen this?

I don't have the problem on the MemberInfo.

It looks like the $post[showuserawards] and $post[userawards] are not set after I do an edit or refresh a thread. Did I miss something?

:cool:

Yes! Yes! Yes! I found my issue. My membership wants to see their awards on every post; so when they are reading a thread, they want to see the awards on every post. I am assuming this is not part of the original plan, but I finally figured out how to make it happen.

For anyone else that may want this, all you have to do is go into the hook titled YAAS - postbit_display_start and add the showthread script to the beginning. This will force the awards to appear everytime a thread is shown.

Beautiful Hack mtha! My members love it.

:cool:

Deadly Assassin 02-12-2008 04:24 AM

I have this installed and its ace, thanks.

Just one thing; is there any way this can support .png's as the trans .gifs i have made look well ropey when i try to use them?

Thanks for a great hack/Mod

RokuDaMerlin 02-16-2008 08:43 AM

work good to 3.7.0 Beta 5 ;)

Queball_Beast 02-16-2008 09:56 PM

Hi,

Is there a way to automatically give all new registrants a new members medal as an incentive .

Member award just for being a member, given automatically.

An awards setting where members can earn an award after achieving or meeting a certain criteria or goal.

Thanks

.

FOMSCU Forum 02-19-2008 03:44 PM

I Thank You 4 This Amazing Hack

edytwinky 02-20-2008 03:56 PM

Quote:

Originally Posted by edytwinky (Post 1437642)
Any way to make the awards page private to only members logged in?

Anybody have an idea if this is possible?

CLF 02-20-2008 11:16 PM

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! :)

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??

therogueforums 02-25-2008 01:52 PM

It's amazing how no one here has even attempted to help me. I was even willing to throw a few bucks to the person's PayPal, just for the help. *sigh* All I wanted was for someone to PM me a copy of what their MEMBERINFO template looked like, running on 3.7, so I can compare, and see where my code was wrong. I honestly didn't think that was too much to ask. This level of cooperation is inspiring.:up:

Jafo232 02-25-2008 05:37 PM

Conditional awards would be nice in this hack.. I.e. if #ofposts > 1000 -> award user..

katie hunter 02-27-2008 10:13 AM

Does anyone know where i can find the instruction to edit my php files ? i can't find it in the doc folder.i see template edit but not the php edit file.

TTG 02-27-2008 10:27 AM

Quote:

Originally Posted by katie hunter (Post 1452000)
Does anyone know where i can find the instruction to edit my php files ? i can't find it in the doc folder.i see template edit but not the php edit file.

There are no .php edits :confused:

Just tested in 3.7.0 beta 5 and it works well :up:

katie hunter 02-27-2008 10:38 AM

Quote:

Originally Posted by TTG (Post 1452004)
There are no .php edits :confused:

Just tested in 3.7.0 beta 5 and it works well :up:

But it states that in the doc :confused: i uploaded the files > import xml but i can't see the award panel in my admin cp, did i miss to edit something ?


This part , php files not template
Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php)

mousegeek 02-27-2008 10:24 PM

Quote:

Originally Posted by therogueforums (Post 1450684)
It's amazing how no one here has even attempted to help me. I was even willing to throw a few bucks to the person's PayPal, just for the help. *sigh* All I wanted was for someone to PM me a copy of what their MEMBERINFO template looked like, running on 3.7, so I can compare, and see where my code was wrong. I honestly didn't think that was too much to ask. This level of cooperation is inspiring.:up:

I would show you mine but im running off of 3.6.8.

therogueforums 02-28-2008 05:59 AM

Well, I appreciate you at least responding.

floydian1 02-28-2008 01:23 PM

My members can't see the awards.

I can see them... but no one else can.

Any ideas?

mousegeek 02-29-2008 02:42 AM

Try checking your usergroup settings, happened to me also. I wish the creator would respond to our questions seeing it clearly states ''Supported''

haytham 02-29-2008 06:41 AM

https://vborg.vbsupport.ru/

how do I remove these img tags from the request message?


All times are GMT. The time now is 07:09 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.02893 seconds
  • Memory Usage 2,041KB
  • 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
  • (4)bbcode_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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