vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   uCash & uShop old support and thank you thread (https://vborg.vbsupport.ru/showthread.php?t=73736)

Fluous 05-13-2004 12:10 PM

I'm having a bit of trouble. When my users go to the store, it says No actions found... and I had fixed that. But when I go to the store it shows everything. Ermm... what shall I do? And if I did reinstall it, then what pieces would I have to redo. Like would I have to redo all the file edits and stuff. Or is there a easier way around this?

Weasel 05-14-2004 05:51 AM

One of my users found an exploit with the "points per view" action in showthread.

He logged off and opened 10 browser windows and then used some sort of program to refresh each window over and over again.

Over a period of time he managed to guest-view his own thread 90,000 times and got himself tons and tons of points.

The psuedo-solution to this problem would be to add "&& $bbuserinfo[userid] > 0" in the showthread.php conditional, but this would disable points for all guest views and would encourage members to create duplicate registered accounts to exploit this.

A better solution would be to have some sort of time limit, so they can only get so many views per minute or something.

deathemperor 05-14-2004 09:09 AM

I suggest using the points via viewing thread like the Lesane's Store, e.g: 10$ for 100 views, 100$ for 1000 views and so one. that would reduct the cheating.

Zachery 05-15-2004 04:19 AM

Quote:

Originally Posted by Weasel
One of my users found an exploit with the "points per view" action in showthread.

He logged off and opened 10 browser windows and then used some sort of program to refresh each window over and over again.

Over a period of time he managed to guest-view his own thread 90,000 times and got himself tons and tons of points.

The psuedo-solution to this problem would be to add "&& $bbuserinfo[userid] > 0" in the showthread.php conditional, but this would disable points for all guest views and would encourage members to create duplicate registered accounts to exploit this.

A better solution would be to have some sort of time limit, so they can only get so many views per minute or something.

Currently where we use it, we only give .01 or .1 points per view, which would require quite alot of effort for someone to cheat and gain money.

Weasel 05-15-2004 09:37 AM

There is a bug with the musername stuff. colored usernames do not show up properly in the "Whats Going On?" bar and also the "Who's Online" page because the custom utt database variables are not passed into the fetch_musername function.

Here's the fix:

Open up online.php

FIND:

PHP Code:

SELECT user.username 

REPLACE WITH:

PHP Code:

SELECT user.* 

SAVE AND CLOSE

Open up index.php

FIND:

PHP Code:

user.username 

REPLACE WITH:

PHP Code:

user.* 

FIND:

PHP Code:

if ($userid != $bbuserinfo['userid'])
        {
            
$inforum["$loggedin[inforum]"]++;
        } 

ADD BELOW:

PHP Code:

else 
        {
            
$loggedin['uttstore_boldusername'] =  $bbuserinfo['uttstore_boldusername'];
            
$loggedin['uttstore_usernamecolor'] =  $bbuserinfo['uttstore_usernamecolor'];
            
$loggedin['uttstore_italicsusername'] =  $bbuserinfo['uttstore_italicsusername'];
            
$loggedin['usergroupid'] =  $bbuserinfo['usergroupid'];
            
$loggedin['displaygroupid'] =  $bbuserinfo['displaygroupid'];
            
$loggedin['joingroupid'] =  $bbuserinfo['joingroupid'];
        } 

SAVE AND CLOSE
This still does not make glow display on anything except showthread, but that may prove difficult to fix.

Fugler 05-15-2004 02:57 PM

Hi, I'm getting an error in the ushop.php.. It Looks like this:

Warning: Invalid argument supplied for foreach() in /home/pixelki/public_html/forum/ushop.php on line 144

I did the manual install, anyone know the problem?

Fugler 05-15-2004 03:08 PM

Looks like it fixed its self, sorry.

ImportPassion 05-15-2004 08:55 PM

i did a quick search on here, but is there a import from leasne's store?

Lacrosse Boy 05-16-2004 02:24 AM

Quote:

Originally Posted by Link14716
Installs hacks and makes it easier to upgrade since all the file edits of hacks installed using it are accessible in the admincp.

Issues here:

Using standalone.
When trying to access any vBulletin page after the files are hacked.
Running 3.0.1

Here is the error message I get:
Parse error: parse error in /home/todaysmu/public_html/tmf/includes/functions.php on line 1871

Fatal error: Call to undefined function: is_browser() in /home/todaysmu/public_html/tmf/global.php on line 59

How do I correct this? I'd love to be able to use this hack!

Thanks.

Zachery 05-16-2004 02:48 AM

Quote:

Originally Posted by Lacrosse Boy
Issues here:

Using standalone.
When trying to access any vBulletin page after the files are hacked.
Running 3.0.1

Here is the error message I get:
Parse error: parse error in /home/todaysmu/public_html/tmf/includes/functions.php on line 1871

Fatal error: Call to undefined function: is_browser() in /home/todaysmu/public_html/tmf/global.php on line 59

How do I correct this? I'd love to be able to use this hack!

Thanks.

You have miss hacked your files, start again with fresh files and DONT use Dreamweaver.


All times are GMT. The time now is 02:12 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.02761 seconds
  • Memory Usage 1,760KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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