Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Pickpocket in Lesane Store Details »»
Pickpocket in Lesane Store
Version: 1.00, by GenSec GenSec is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-06-2002 Last Update: Never Installs: 32
 
No support by the author.

As promised It's new version of steal addon to the Lesane Store.
At last the crime on my board is under control.
I translated all templates, but It's not the best english version.
Hope the instruction is full and understandable.
Have a fun.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 02-17-2003, 05:29 PM
threadcrapper threadcrapper is offline
 
Join Date: Aug 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

with the store 2.0 hack need to change the quieries to:

PHP Code:
INSERT INTO store VALUES (NULL'steal''Crime and punishment''0''0''thief.gif''It is not caught - not the thief''Y''0');
INSERT INTO store VALUES (NULL'mafia''Safeguard''100''0''godfather.gif''We protect your money''Y''0');
INSERT INTO store VALUES (NULL'insurance''Insurance''100''0''insurance.gif''Buy insurance''Y''0'); 
there is a new colum in 2.0 (Qty)
Reply With Quote
  #183  
Old 02-17-2003, 06:29 PM
threadcrapper threadcrapper is offline
 
Join Date: Aug 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed --

members are loosing thier minds
Reply With Quote
  #184  
Old 02-18-2003, 03:50 PM
dnd dnd is offline
 
Join Date: Jan 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

having the same problem wich cold steal had with the quick reply hack
any help?

Quote:
Originally posted by Cold Steel
I have the store hack and the pickpocket hack installed.

Users who shouldn't be able to post, still can, via this hack. Is there anyway to edit showthread.php around it?

I got it so that those "in prison" couldn't even view the thread, but all I want to do is change it so they can't see the quick reply box.
Reply With Quote
  #185  
Old 02-23-2003, 07:39 PM
dnd dnd is offline
 
Join Date: Jan 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i wonder if what i did was right

in showthread.php the code of QR was :

PHP Code:
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
  
show_nopermission();
}

if ((
$bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
    
$replybox='';
} elseif (!
$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
    
$replybox='';
} elseif (!
$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
    
$replybox='';
} else {
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";");
}

if ((!isset(
$pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
  
$pagenumber=1;



i changed it to

PHP Code:
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
  
show_nopermission();
}

if ((
$bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
    
$replybox='';
} elseif (!
$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
    
$replybox='';
} elseif (!
$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
    
$replybox='';
} elseif(
$bbuserinfo[storep]<0) {
             eval(
"standarderror(\"".gettemplate('error_prizon')."\");");
    } else {
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";");

Reply With Quote
  #186  
Old 03-11-2003, 12:05 AM
Darnell 0216's Avatar
Darnell 0216 Darnell 0216 is offline
 
Join Date: Feb 2003
Location: Newark, NJ
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed the hack and besides the aforementioned 'bad english' and store 2.0 changes for the queries I've had no problems less one (not an interference, but as someone mentioned it appears above the header):

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/virtual/site14/fst/var/www/html/forums/store.php(1408) : eval()'d code on line 3

And my PHP editor says this when I reach that line:

mixed eval (string code_str)
Reply With Quote
  #187  
Old 03-17-2003, 04:50 PM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-26-02 at 09:12 PM Blue2000 said this in Post #72


ok i have done this one myself..

for anyone who wants it


find in functions.php

PHP Code:
    if (($bbuserinfo[usergroupid]==6)) {
        
$donate="<br><a href=\"javascript:showwin('admin/storeadmin.php?action=givemoneyverify&giveusername=$post[username]', 'width=550,height=250')\">Donate to user</a>";
    } else {
        
$donate='';
    } 
add under

PHP Code:
$nick="<a href=\"javascript:showwin('store.php?action=stealmoney&stealusername=$post[username]', 'width=550,height=550')\">Try to steal $$</a>"
and then add

$nick

anywhere you want it in your postbit template
1. I am having trouble stealing in sub forums with this code. any help appreciated

2. Is there any way to make a stats page where u can see who is stealing the most.
Reply With Quote
  #188  
Old 03-17-2003, 05:17 PM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one more thing... how can you change who sends out the PM when someone steals. I would like to add a police man to the board who sends out the PMs. thanks
Reply With Quote
  #189  
Old 03-18-2003, 03:23 AM
Darnell 0216's Avatar
Darnell 0216 Darnell 0216 is offline
 
Join Date: Feb 2003
Location: Newark, NJ
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 02:17 PM auz1111 said this in Post #187
one more thing... how can you change who sends out the PM when someone steals. I would like to add a police man to the board who sends out the PMs. thanks
Create a new user that's going to be your police man. Everywhere you were told to place AdminID, place the userid of the police account instead.
Reply With Quote
  #190  
Old 03-18-2003, 03:28 AM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. i should have known that huh... thanks Darnell
Reply With Quote
  #191  
Old 04-13-2003, 02:49 AM
dbroomjr dbroomjr is offline
 
Join Date: Aug 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After fighting with it for an hour and reading every post here, it is working like a champ...Actually it is the users favorite on my board...I have a bunch of thieves.. lol
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04781 seconds
  • Memory Usage 2,332KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete