![]() |
Need help with User Rating Hack!
Hello Vbulletin world..
I am very new to the VBulletin world and I'm trying to install a User Rating Hack.. The instructions are as follows.. The Site is www.offroadblog.com NOTE: If you are wanting ot upgrade from vB2, please contact me directly and I can create an upgrade script for you. --- To install Trader Ratings follow these few steps: --- 1. Upload the appropriate files to the following directories: - traderratings.php = vb root directory (ALL INSTALLS) 2. You should only need 1 of the following files to do a new install or upgrade. - install_traderratings.php = admincp directory (1.2.0 NEW INSTALLS ONLY) - upgrade_traderratings.php = admincp directory (1.1.0 => 1.2.0 UPGRADES ONLY) 3. Go to admincp/XXXXX_traderratings.php (install or upgrade) and follw the instructions from there. 4. Be sure to delete the install/upgrade file in the admincp directory! 5. Modify your templates as necessary. There is a templates.txt file with the code. - Did everything.. Template Changes: ################### postbit, postbit_legacy, MEMBERINFO ################### - Add somewhere: <if condition="$post['userid']"><div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if> ##################################### navbar ############################### - (I placed it before my FAQ link, but it is really a personal preference thing) - Add somewhere between the <!-- nav buttons bar --> & <!-- / nav buttons bar -->: <td class="vbmenu_control"><a href="traderratings.php?$session[sessionurl]">Trader Ratings</a></td> ########################### memberlist_resultsbit ########################### NOTE: This is similar to the postbit display, it shows the rating info on search results. - After this text: <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> - Add: (<a href="traderratings.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[ratetradetotal]</a>) ... Everything added.. The only thing that is showing up on my site is User Rating on the top menu bar? What have I done wrong .. What do I need to post on here to get some much needed help =) |
What type of postbit template are you using?
postbit_legacy template is like what we use here, where the member info sits on the left side of the postbit. postbit template is like the one you see on www.vbulletin.com/forum, where the userinfo is above the message body. Make sure you added the html to the right template, also where exactly did you place this line of code? HTML Code:
<if condition="$post['userid']"><div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if> |
I am using the default template. . I have changed nothing on it except colors and the footer..
It is the second if condition from the top<if condition="$post['userid']"><div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if> HTML Code:
<!-- post #$post[postid] --> |
You are trying to install a user rating or a trader rating hack?
To avoid confusion and to get the best/fastest support you better post your question in the support thread of the hack you are trying to install. |
Quote:
|
I just got the Vbulliten 2 days ago .. I am still confing the board thank you.. = ) If it were complete then I would say ok..
|
All times are GMT. The time now is 06:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|