vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   iTrader Extension [Mainpage, Search, AND MORE] (https://vborg.vbsupport.ru/showthread.php?t=108065)

ltaylor 05-13-2006 10:25 AM

While uploading and configuring the itrader hack/s I am receiving this script error below when trying to leave FEEDBACK for customer.

Script or Action BlockedThe requested URL /forums/itrader_feedback.php?u=2 contains a script or action that has has been deteremined unsafe. It has been disabled to prevent abuse.

This is a result of a PHP program on my server that haults scripts that may be email or webmail based. There's no way around this. Because one of the PHP files is named "leave_feedback".php it's the "feedback" namethat's causing this error (444).

Where and what should I do to allow this script to run without any probs?
Can it be a simple as changing the this files name......if so, please list all the php files/extentions I need to change to match........OR is there a way to change the "extention=php" to run in another computer language?

Please advice.
Thankyou!

bizpro 05-25-2006 03:19 AM

I too have a custom skin, so I had to put the one edit in my header instead of navbar.

But I had to fool with it to get it straight but I dont think I have it right.

I replaced my calendar button with the itrader button in my navbar.

So I replaced this:
<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a><img src="images/hexcell/header/navdiv.gif" alt="navdiv" class="navdiv" />

with this:
<a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a><img src="images/hexcell/header/navdiv.gif" alt="navdiv" class="navdiv" />

But it was supposed to be this:
<!-- iTrader Extension Navbar -->
<if condition="$show['popups']">
<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
<else />
<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
</if>
<!-- End iTrader Extension Navbar -->

So did I do it right ot am I way off??? Cuz I dont get the drop menu thing when you click the itrader button in my navbar.

Also, My board is newer so i only have 568 posts.
But, when viewing someones user rating it says:
"568 Total Feedback Received By "user""
When it should be zero.

It is saying the total feeback is the same as the total posts.

please help.

cookiepants 07-25-2006 05:34 PM

I accidentally deleted the iTrader in the postbit part of my forum, and my members would like it to be put back. I'm not sure how to do this. If you can help, I'd REALLY appreciate it!

Thanks so much!

Megan

http://sewingmamas.com/b


edited to add: I fixed it, I used this code if anyone else has the problem. I changed it in the postbit:

Code:

<a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a>

BiReL41r 07-26-2006 12:08 PM

Hi! I'm having some issues putting the iTrade dropdown on my navbar...

For some reason, it's show up like it should, except there's no background like the rest of the buttons. Do you have a possible diagnosis?

Here's some more info;

The current template I have, stores the navbar info in the headerpostbit

Here's my header, with your script bolded;

Code:

<!-- logo -->
<if condition="$bbuserinfo['pmunread']">
<div id="infobar"><a href="http://www.yourforums.com/private.php"><p>You have an Unread Private Message, Click here to view. . .</p></a></div>
</if>
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>

<a href="http://www.site5.com/affiliates/idevaffiliate.php?id=740" title="Web Hosting"><img src="http://www.site5.com/affiliates/banners/site5-468x60c.gif" border="0" alt="Web Hosting" style="float: right; padding: 7px;" title="Web Hosting" /></a>

<a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

<!-- nav buttons bar -->
<div align="center">
        <table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr align="center">       
                <!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
               
                <if condition="$show['member']">
                        <td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                <td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<!-- iTrader Extension Navbar -->
                <if condition="$show['popups']">
                        <td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
                <else />
                        <td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
                </if>
                <!-- End iTrader Extension Navbar -->

                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                        </if>
                        <if condition="$bbuserinfo['userid']">
                                <td id="usercptools"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$bbuserinfo['userid']">                       
                                <td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$show['member']">
                        <td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
        </tr>
        </table>
</div>
<!-- / nav buttons bar -->
</div>
<!-- /logo -->
<center><script type="text/javascript"><!--
google_ad_client = "pub-0224615960946416";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "566B79";
google_color_bg = "E7EBED";
google_color_link = "374248";
google_color_text = "000000";
google_color_url = "303A41";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<!-- content table -->
$spacer_open

$_phpinclude_output


Here's my forum homepage;

http://thebuyselltradeforum.com/usercp.php

As you can see, it works, but the visuals are messed up. A diagnosis would surely make my day!

Trana 07-26-2006 12:31 PM

Try changing the <TD> class to whatever class you are using for the other menu options.

BiReL41r 07-26-2006 01:04 PM

Ah! I got it. I had to take out

Code:

class="vbmenu_control"

chinch 08-02-2006 09:26 PM

has anyone tried this with vB 3.6 release candidates?

i'd like to upgrade to that but iTrader is mandatory :)

Eric 08-03-2006 09:06 AM

Quote:

Originally Posted by chinch
has anyone tried this with vB 3.6 release candidates?

i'd like to upgrade to that but iTrader is mandatory :)

I've not installed this..yet, however, iTrader is working fine on 3.6 RC3 ;)

chinch 08-04-2006 01:18 AM

thanks for the info!

chinch 08-05-2006 06:44 PM

installed on 3.6.0 :)

i have a comment regarding usability (ease of use).

the SEARCH links you to the forum profile, not iTrader profile.

is there a way to have the iTrader profile appear as a link from member profiles?

otherwise searching is very confusing. i expect to get alot of "how do i add trader ratings" inquiries.

Ncturnal 08-27-2006 03:07 AM

There is another mod to add the iTrader stats to the user profile. I recommend it and it works well in 3.6.0.

https://vborg.vbsupport.ru/showthread.php?t=107828

We also put a link to the users iTrader rating in the postbit. You can see an example in this thread: http://www.mr2board.com/forums/site-...r-ratings.html

Here's the code for the postbit link (which was included in the iTrader install documentation). Put it wherever you would like the link to show up.

Code:

<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>

acorndomains.co 09-09-2006 07:33 AM

I cant get the Navbar option to work, having just upgraded to 3.6.x

This worked in 3.5:
Code:

<!-- iTrader Extension Navbar -->
                <if condition="$show['popups']">
                        <td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
                <else />
                        <td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
                </if>
                <!-- End iTrader Extension Navbar -->

What do I need to change for it to work in 3.6?

Many thanks

ryansmith 09-12-2006 06:49 PM

I fixed it. Working smoothly on 3.6.0 now.

oldfan 09-17-2006 02:12 AM

I'm having problems get the dropdown menubar to work, could someone help me out please.
my site > http://www.metallifukinca.com

michaelsilvia 10-15-2006 05:10 AM

As always nice job!

Will you upgrade to 3.6.2 after iTrader is updated?

Mike

rareclownfish 10-16-2006 01:37 AM

Waiting for 3.6.2 uprage
thanks

rareclownfish 11-05-2006 03:04 PM

Can anyone tell me how to get rid of the thread icon next to iTrader button in the nav bar?

VBUsers 11-07-2006 03:14 AM

will this work with 3.6.2?

rareclownfish 11-07-2006 03:32 AM

I have this working on 3.6.2,

Neutral Singh 11-12-2006 11:59 AM

I am trying to uninstall itrader from my board and have uninstalled everthing but when i go to member profile page following error show up.

Quote:

Warning: Unknown(/home/****/public_html/includes/functions_itrader.php): failed to open stream: No such file or directory in /includes/init.php(317) : eval()'d code on line 6

Fatal error: (null)(): Failed opening required '/home/****public_html/includes/functions_itrader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/includes/init.php(317) : eval()'d code on line 6
Any clues will be really helpful.

JohnSilver 11-15-2006 10:26 AM

please keep away from installing this hack. They didn't update from Feb06 any.

cTak 02-05-2007 01:38 PM

Can't get the link to show up on the nav bar on http://forum.widsm.org

??

dbirosel 02-19-2007 07:14 PM

Code:

<!-- Faq -->
<td width="93">
<table width="93"  border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background:#FFFFFF url($stylevar[imgdir_misc]/bouton_faq.gif);"><a href="$vboptions[bburl]/itrader.php?$session[sessionurl]" rel="nofollow"
                onmouseover="JSFX.fadeIn('faq')"
                onmouseout="JSFX.fadeOut('faq')"><img
                src="$stylevar[imgdir_misc]/bouton_faq.gif" name="faq"  width="93" height="40" border="0" class="imgFader" id="faq" alt="" /></a></td>
</tr>
</table>
</td>
<!-- /Faq -->


That is what i am using for my itrader. The button is all custom so it's called My Feedback Ratings. Www.CarAudioJunkyard.com/forum


How do i combine it so that this code will work??

Code:

                <!-- iTrader Extension Navbar -->
                <if condition="$show['popups']">
                        <td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
                <else />
                        <td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
                </if>
                <!-- End iTrader Extension Navbar -->


Thank you.

dbirosel 02-19-2007 07:15 PM

Omg.. u guys are saying that this mod doesn't work well with 3.6.4???

dbirosel 02-19-2007 07:54 PM

Whoo-hoo i got it to work with 3.6.4!!!

tsp 02-23-2007 03:13 AM

Just installed the latest update. Everything is working fine except for the display of avatars. It seems that the link to the avatar is missing the revision number at the end. If I added a 1 to the code [avatarrevision] only avatars with _1 revision number would show.

This is the link I see...

http://www.londonautoclub.org/forum/...avatar498_.gif

this is what is should be..

http://www.londonautoclub.org/forum/...vatar498_4.gif

Any ideas as to how I could code it so it works?

thanks.

Gil427 03-03-2007 02:12 PM

How do I get to NAVBAR?

fx4matt 03-06-2007 07:02 PM

Will itrader work in vB 3.6.5?


All times are GMT. The time now is 02:49 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.01300 seconds
  • Memory Usage 1,834KB
  • 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
  • (7)bbcode_code_printable
  • (2)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
  • (28)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