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)
-   -   Pickpocket in Lesane Store (https://vborg.vbsupport.ru/showthread.php?t=38383)

GenSec 05-22-2002 05:14 AM

Roxie. Email me your php text I try to look what's wrong

Roxie 05-23-2002 03:43 PM

GenSec, now it works for me, but not any of my members. This is really odd. lol

GenSec 05-24-2002 06:48 AM

What can I say? Roxie. I don't see any error in php I send you.
Check one more what is store.php on server.
Two lines:
if ($bbuserinfo[posts]<5)

Roxie 05-24-2002 10:43 AM

It seems that even though it says 5, it will only let users with 100 or more posts steal. I'll try to figure it out or I'll just leave it at 100. Thanks for looking at it for me.

wintz 05-24-2002 12:31 PM

When i try to steal i get the below error

Invalid SQL: INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,64,64,DMINID,'Crime','Toby!

Sorry, you were robed for the sum 50.


Quote:

It was very smart robbery! We didn\'t take them.
',1022246379,'Case-Sensitive Forums','',0,0,0)
mysql error: Unknown column 'DMINID' in 'field list'

mysql error number: 1054


any ideas how to fix this? thanks

Blue2000 05-26-2002 03:57 AM

you know what would make this addon better

when the godfather, insurance or adminid pms you it also adds in the pm who tryed to rob from them .. ;) this would start little wars and could be fun

Blue2000 05-26-2002 06:12 AM

also how would i add a new button near users nicks that appears under called "ROB ME": this way we all will live in a more dangerouse!!! real time robbering while u r reading a post... and without going to the shop :P

Blue2000 05-26-2002 06:14 AM

Quote:

Originally posted by wintz
When i try to steal i get the below error

Invalid SQL: INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,64,64,DMINID,'Crime','Toby!

Sorry, you were robed for the sum 50.


',1022246379,'Case-Sensitive Forums','',0,0,0)
mysql error: Unknown column 'DMINID' in 'field list'

mysql error number: 1054


any ideas how to fix this? thanks

you need to set DMINID to your admin id in the command.

the info to installed missed out the A on a few lines

wintz 05-26-2002 07:13 AM

Thanks for the reply but i`m not sure what you mean and where would i make the changes? thanks

Blue2000 05-26-2002 07:57 AM

ok find your admin userid

should be 2

hover over your profile file link in any of "your" posts and look at the buttom of ie

you should see somthing like

https://vborg.vbsupport.ru/member.ph...fo&userid=8741

make a note of that id

then in the instuctions.txt

find

// change ADMINID (should be in it twice)

in that line you will see DMINID just after NULL,$usid,$usid,

remove dminid and put in your admin id you made a note of before.

so you finished line should look like this

VALUES (NULL,$usid,$usid,2,'Crime','".addslashes($message)."',".time().",'$b btitle','',0,0,0)"); // change ADMINID


All times are GMT. The time now is 06:21 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.01145 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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