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)

g-force2k2 07-05-2002 10:12 PM

hyperdave

oepn admin/user.php

find:

PHP Code:

SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME 

replace with:

PHP Code:

SELECT user.*,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME 

see if that fixes your problem :)

g-force2k2

hypedave 07-05-2002 10:22 PM

nope it still the same error, I dunno,

now when I pull up
/forums/intemshop.php , I get this eror

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT points FROM userfield WHERE userid=1
mysql error: Unknown column 'points' in 'field list'

mysql error number: 1054

Date: Friday 05th of July 2002 06:15:52 PM

and then /admin/user.php gives me this error

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: SELECT user.*,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
FROM user
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
WHERE user.userid=1
mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
' at line 2

mysql error number: 1064

Date: Friday 05th of July 2002 06:19:01 PM
Referer: http://sub.domain.com/admin/index.php?


I dunno

g-force2k2 07-05-2002 10:35 PM

well the points field is either fuxored or off ;\ and the try and just replace the admin/user.php with the backup of it and see if the shop is still functional...

g-force2k2

proxyMX 07-06-2002 02:50 AM

The items will not show in the posbit.

Seifer 07-06-2002 04:15 AM

I installed it on my testboard without a problem, but it's really not what I was looking for. I would like it 100% if:

You could have an option to post each item, like say I bought a wep, an armor and an item. In the postbit, I could put this:

Weapon: $post[weapon]
Armor: $postst[armor]

proxyMX 07-06-2002 02:34 PM

It seems that no one has any feasable solution to the problem so many of us are having. What frustrates me is when people make hacks, dont think em through properly and just release him, and obviously the Itemshop 5 has been a problematic release. Perhaps some more testing wouldnt have harmed anyone? And if anyone know how to fix this problem, im sure alot of us would be gratefull.
In the Postbit where you place
PHP Code:

$post [items

Why wont it work?

Chris M 07-06-2002 02:48 PM

Take out the space...

Satan

proxyMX 07-06-2002 02:50 PM

in my forums there is no space.
And i tested the placing a space thing, it actually brigns up something
"Array [items]"

proxyMX 07-06-2002 03:55 PM

Find out the problem

At first it seemed like a miracle, but heres what i done step by step to get the images to show.

Step 1:
Start up the install script again and first REMOVE the templates and tables using the script.

Step 2:
Go through the script again and let it set up the tables etc

Step 3:
Skip the file alterations

Step 4:
Go to your itemshop and direct it to the proper user field
(I installed the SHinra Hack because it provides better moderation functions. But even if youve got this installed you must do the same)
[To find out what field is what simply go to the Modify area of the user profile fields and then hover your mouse over edit. The last number of the line is the field number.]

Step 5:
Simply go into your item shop and then buy some stuff, and watch it appear in the post bit.
[Note, Custom items should appear too!]

mods can you please move this post to the Itemshop 5 area pwease
sowwy

Custom Items Bug
The above by myself shows how to do it. However, ive found if you delete ANY of the categories then create a new one in place of em, the items DO NOT show up. So what to do is simply delete all the items in each category, and then replace them with your own custom items. Then if you require any more categories you can add em on, but you cannot delete any of the orginial four, it mucks it up.

Brianna 07-08-2002 03:24 AM

heh, my problem kicked my admin cp's arse x_X

when i go to edit templates, any template that has not been modified from it's original it just says "[Change Original]" and no titles for any of them... when I click on that for any line, it opens up a blank template... I am screwed. Not too mention interest on the bank does not work at all.

VERY nice looking hack, but it's not worth it cos uninstalling is gonna be ten times worse than installation was...


All times are GMT. The time now is 12:36 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.01355 seconds
  • Memory Usage 1,746KB
  • 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_php_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