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)

Keta 06-24-2002 07:35 PM

isn't this just the same as lesane's store?

Grealm 06-25-2002 12:56 AM

dunno.. but i seems to having problem.. and how come it wont show the points and how do they get points? please some1..

Chris M 06-28-2002 10:52 AM

Error :

Im running vB 2.2.6, and when I try to add the code to functions.php, I get this error :

Quote:

Parse error: parse error in /home2/thelyceu/public_html/kumantek/forum/admin/functions.php on line 842

Fatal error: Call to undefined function: vbsetcookie() in /home2/thelyceu/public_html/kumantek/forum/admin/sessions.php on line 183
Satan

SHoeSTeR 06-29-2002 12:05 AM

postbit template

--------------------------
##### add this next to your points link:
<a href="#" onclick="javascript:window.open('itemshop.php?action=donate&user=$pos t[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,h eight=50');">Donate</a>
##### add this where you want your items to appear:
$post[items]
--------------------------

I don't get that part =/

Link14716 07-03-2002 06:57 PM

Does this hack with with the store hack?

Chris M 07-03-2002 07:28 PM

@SHoeSTeR - You did create a new Profile Field didnt you?

Create it so the user cannot edit it...

Now, find the id of the field, and put :
Code:

$post[fieldx]
(x being the field id)
in the postbit template where you want...

I recommend Adding this:
Code:

Points: $post[fieldx]
after
Code:

$post[posts]
You just then add :
Code:

<a href="#" onclick="java script:window.open('itemshop.php?action=donate&user=$post[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,height=50');">Donate</a>
after
Code:

Points: $post[fieldx]
and then
Code:

$post[items]
wherever you want the items to show up...

@Link14716 - No...

Suggestion : Can you make it so more than one item can be bought from each store?

Satan

Velocd 07-03-2002 07:35 PM

Quote:

Originally posted by Link14716
Does this hack with with the store hack?
oro....*dies* I bet this question has been asked at least 3 or 4 times in this whole thread, you should search around a bit first. Or even better, I think the next time anybody releases a point/karma/store hack, it should have a FAQ (if applicable)saying it's not compatible with lesanes store ;)

hypedave 07-05-2002 04:56 AM

jus installed and i got this error when I went to /forums/itemshop.php

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 12:53:32 AM

proxyMX 07-05-2002 03:56 PM

I found this hack exellent in my last forums. and will be installing it in my new trek rp forums. I think its a great peice of work and sorry to say lesanne, but i do prefer this to lesannes hack. Purely the fact that you can customise items and shop them in the postibt puts this hack ahead of the rest. Im anticpating V6 for Vb3

proxyMX 07-05-2002 09:03 PM

1: Whenever i post a new thread i get this error:
Quote:

Database error in vBulletin 2.2.6:

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

mysql error number: 1054

Date: Friday 05th of July 2002 04:53:42 PM
Script: http://www.proxymx.com/forums/forums...=donate&user=1
Referer:
And i also get this error when i try and post replies, there is no numbers comming up next to points in the postbit and it also happens whenever i click donate.
Please tell me where im going wrong


All times are GMT. The time now is 01:09 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.01484 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_code_printable
  • (3)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