vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   The Itemshop v5 (Original) (https://vborg.vbsupport.ru/showthread.php?t=38090)

Vivi Ornitier 05-11-2002 07:26 PM

i'm waaay to busy to do anything else right now. I'm working hard on my site, which i'm gonna release soon, not to mention the forums.

One quik update here: i noticed that the functions.php can add couple hundreds of queries depending on the number of posts in a thread.here's the fix:

find in showthread.php (twice):
Code:

        LEFT JOIN userfield ON userfield.userid=user.userid
below it add
Code:

        LEFT JOIN items_user ON items_user.userid=user.userid
[b]change the functions.php part to:
Code:

        if($post[item0]!='No Item') {
        $post[items] .= "<a href=\"itemshop.php?action=view&id=$post[itid0]\"><img src=\"{imagesfolder}/itemshop/prs.gif\" border=\"0\"></a> ";
        } else {
        $post[items] .= "<img src=\"{imagesfolder}/itemshop/No Item.gif\" border=\"0\"> ";
        }


$nr=1;
while ($nr <= 3) {
$xc="item$nr";
        if($post[$xc]!='No Item') {
                $xvv = "item$nr";
                $xv = "itid$nr";
                $xvvv = "icon$nr";
                if(empty($post[$xvvv])) {
                $post[items] .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"{imagesfolder}/itemshop/$post[$xvv].gif\" border=\"0\"></a> ";
                } else {
                $post[items] .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"{imagesfolder}/itemshop/$post[$xvvv].gif\" border=\"0\"></a> ";
                }
        } else {
        $post[items] .= "<img src=\"{imagesfolder}/itemshop/No Item.gif\" border=\"0\"> ";
        }
$nr++;
}


dadymac 05-12-2002 12:11 AM

can u post the code we are supposed to change from admin/functions.php since all u gave us was the install file and its a butt to look for with all the extra \ and php commands in there.

Vivi Ornitier 05-12-2002 11:27 AM

run install_itemshop.php?step4

snack 05-13-2002 01:23 AM

UMMm when i add new catagories... it shows in the item shop but not in the user profile when they post!

snack 05-14-2002 05:24 PM

How do i uninstall the point hack thats with the itemshop v5 install? so i can install the old point hack?

Brianna 05-18-2002 12:36 AM

Quote:

Originally posted by J-OST
Is there anyway to make the Points Field part of the Itemshop Admin options bigger? Right now I can only put in 6 characters into the box and I need seven. I tried to enter field26, but it changed it to field2. Please assist.
I get the same problem :S

Go into your MySQL Database and select the "items_options" table... check on the field "pointfield" and click on the change button... then it should take you to another page where you can change the length of the variable, it's set to 6 for me, change it to 7 ;)

*Hopes he did this right* I'm quite new to all of this ^^ but that's not too hard is it? hehe http://forums.crystaldimensions.com/...ies/bounce.gif http://forums.crystaldimensions.com/...ilies/hide.gif

Mike Gaidin 05-18-2002 03:12 AM

Thanks! I will try this.

Velocd 05-18-2002 05:50 AM

Quote:

Originally posted by snack
How do i uninstall the point hack thats with the itemshop v5 install? so i can install the old point hack?
last I checked this Itemshop uses the Shinra Online Point System, which is the only one really out there. So I think you're either alittle unclear or too vague

Neo 05-18-2002 05:55 AM

I released one aswell.. its smaller and runs fatser than the shinra online one.

snack 05-21-2002 08:47 PM

ONE MAJOR PROBLEM... when i add a new catagory. it shows on the itemshop the items you brought, but it doesnt show on the user profile... like when they post it only show four of there itemshop...


All times are GMT. The time now is 10:58 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.01401 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)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