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)

webwheeling 02-17-2006 11:18 PM

Quote:

Originally Posted by gio~logist
May i ask, do you guys have the avatars uploading in file mode or regular mode?

In the meantime, i suppose you can just leave the show avatars option as no until i find the fix.

Edit: Hopefully i will be able to release another update tommorow (friday), which will fix that as well as the "invalid user" error that you get while logged out. Besides that it's flawless i believe. However, i do want to get those fixed and plan to do so by tommorow.

I am still somewhat new to vB so I am pretty certain it is regular. It is a recent import from PHPBB2 using Impex if that helps any.

Gio~Logist 02-18-2006 06:55 PM

All errors have been fixed. Just overwrite the .xml and files. I do not think there are any bugs left. I spent a while messing with it to check.

Zip Updated With All Fixes

Afterlifer82 02-19-2006 12:56 PM

I think the avatars don't show if you have avatars that are separated into different folders, this itrader hack apparently only looks in the root of the avatars folder and not through each folder in there.

Is there any way to have the itrader menu only in the navbar for certain usergroups, any response is greatly appreciated, thanks for this hack.

Silviu 02-19-2006 03:31 PM

Try changing navbar template like this:
Code:

<if condition="is_member_of($bbuserinfo, [usergroupid1], ..., [usergroupidN])">
...Here is iTrader menu...
</if>


Gio~Logist 02-19-2006 03:31 PM

Quote:

Originally Posted by Afterlifer82
I think the avatars don't show if you have avatars that are separated into different folders, this itrader hack apparently only looks in the root of the avatars folder and not through each folder in there.

Is there any way to have the itrader menu only in the navbar for certain usergroups, any response is greatly appreciated, thanks for this hack.


It shows the avatars according to the location listed in the database. So it does www.yoursite.com/location If you installed the newest zip it should work.

Gio~Logist 02-19-2006 03:32 PM

Quote:

Originally Posted by Silviu
Try changing navbar template like this:
Code:

<if condition="is_member_of($bbuserinfo, [usergroupid1], ..., [usergroupidN])">
...Here is iTrader menu...
</if>


I made it so that only members can see it...

Afterlifer82 02-19-2006 04:21 PM

I got the avatar problem fixed by re-uploading everything but I still have the problem of the iTrader link on the navbar appearing for all members, even unregistered members. It doesn't give them all the options but it does allow them to browse the members.

Gio~Logist 02-19-2006 04:30 PM

Quote:

Originally Posted by Afterlifer82
I got the avatar problem fixed by re-uploading everything but I still have the problem of the iTrader link on the navbar appearing for all members, even unregistered members. It doesn't give them all the options but it does allow them to browse the members.


Ah yes i gave them that option. I figured why not, it wouldn't hurt. However, if you want to make it so that they can't just:

Change this:
Code:

                <!-- iTrader Extension Navbar -->
        <div class="vbmenu_popup" id="itrader_ext_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <if condition="$vboptions['itrader_active'] != 1">
                <tr><td class="thead"><a href="ushop.php?$session[sessionurl]">$vbphrase[itrader]</a></td></tr>       
                <tr><td class="vbmenu_option">$vbphrase[itrader] is turned off.</td></tr>
        <else />
                <tr><td class="thead"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader] Mainpage</a></td></tr>               
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=search">Browse All Members</a></td></tr>
                        <if condition="$show['member']"><tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findcustomer">Find A Customer</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findseller">Find A Seller</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=options">Your Options</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader.php?u=$bbuserinfo[userid]">Your $vbphrase[itrader] Profile</a></td></tr></if>
        </if>
        </table>
        </div>
                <!-- End iTrader Extension Navbar -->

To this
Code:

                <!-- iTrader Extension Navbar -->
        <div class="vbmenu_popup" id="itrader_ext_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <if condition="$vboptions['itrader_active'] != 1">
                <tr><td class="thead"><a href="ushop.php?$session[sessionurl]">$vbphrase[itrader]</a></td></tr>       
                <tr><td class="vbmenu_option">$vbphrase[itrader] is turned off.</td></tr>
        <else />
                <tr><td class="thead"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader] Mainpage</a></td></tr>               
  <if condition="$show['member']">
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=search">Browse All Members</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findcustomer">Find A Customer</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=findseller">Find A Seller</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader_main.php?$session[sessionurl]do=options">Your Options</a></td></tr>
                <tr><td class="vbmenu_option"><a href="itrader.php?u=$bbuserinfo[userid]">Your $vbphrase[itrader] Profile</a></td></tr></if>
        </if>
        </table>
        </div>
                <!-- End iTrader Extension Navbar -->

Mode the <if condition="$show['member']"> accordingly to reflect upon what you do not want to show.

djwins 02-19-2006 10:01 PM

Wow, this looks great!
One suggestion...

Many forums with trading allow users to create a single trade list in the form of a thread. I like what you have done with the "wants to buy, wants to sell", but I think you might want to consider adding a place for users to display a link to their main trade list.

Nice work!

Gio~Logist 02-19-2006 10:51 PM

Quote:

Originally Posted by djwins
Wow, this looks great!
One suggestion...

Many forums with trading allow users to create a single trade list in the form of a thread. I like what you have done with the "wants to buy, wants to sell", but I think you might want to consider adding a place for users to display a link to their main trade list.

Nice work!


Sounds like a nice idea. Perhaps you can elaborate more on this via PM?


All times are GMT. The time now is 05:48 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.01219 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)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
  • (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