Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
uCash & uShop old support and thank you thread Details »»
uCash & uShop old support and thank you thread
Version: , by BarHopper BarHopper is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-12-2004 Last Update: Never Installs: 0
 
No support by the author.

/me Installs. I'm the first for the most aniticipated hack!!1

Show Your Support

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

Comments
  #2302  
Old 01-02-2005, 02:09 AM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just installed this, i have to say, thank you for such a simple install... was a piece of cake!

However, im getting a error...

I get

Warning: Invalid argument supplied for foreach() in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/ushop.php on line 151

on http://www.majorfm.com/forum/ushop.php

Please advise
Reply With Quote
  #2303  
Old 01-02-2005, 03:15 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you run the installer.
Reply With Quote
  #2304  
Old 01-02-2005, 03:32 AM
Sai01 Sai01 is offline
 
Join Date: Dec 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why is all my question ignored?

if im doing something wrong then please tell me...and please answer my question.(two post above this)
Reply With Quote
  #2305  
Old 01-02-2005, 04:23 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sai01
is it possible to see which user donate points/cash to you?

you get interest if you put points/cash in the bank rite?
1. If you view the purchase history for the donate action, you should see who donated what to who. Also, in uShop 1.00, PMs will be sent on a donation.

2. Yes.
Reply With Quote
  #2306  
Old 01-02-2005, 11:46 AM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Did you run the installer.
Yes i did run the installer, i did everything eactly step by step..
Reply With Quote
  #2307  
Old 01-02-2005, 02:20 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know what has happend, but its fixed itself, i assume this is a error when the system has no points, the minute someone earned a point, it all worked fine.

Has the option to buy points via paypal been released yet? i would love this and so would many others, i have seen it on some forums like:

http://board.rapmusic.com/ushop.php
http://board.rapmusic.com/buypoints.php
Reply With Quote
  #2308  
Old 01-02-2005, 02:34 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just noticed, i get the following error when trying to add to a users reputation:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/reputation.php on line 196

Please advise

link 196 is this

Code:
	if ($vboptions['uttpoints_enablesystem'] == '1')
Reply With Quote
  #2309  
Old 01-02-2005, 02:41 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i think i have fixed this

the code was

Code:
$DB_site->query("
		INSERT INTO " . TABLE_PREFIX . "reputation (postid, reputation, userid, whoadded, reason, dateline)
		VALUES ($postid, $score, $userid, $bbuserinfo[userid], '" . addslashes(fetch_censored_text($reason)) . "','" . TIMENOW . "')

	
// ## <ucs>
	if ($vboptions['uttpoints_enablesystem'] == '1')
	{ // It's enabled! Yay!
		if ($score > '0')
		{ // If the amount of reputation is positive...
			if ($vboptions['uttpoints_pointsforgreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforgreputation'] * $score);
			}
		}
		else
		{ // If the amount of reputation is negative...
			if ($vboptions['uttpoints_pointsforbreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforbreputation'] * $score);
			}
		}
		if (isset($givethempoints))
		{ // If they get money....
			// Send the query and we're done.
			$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$userinfo[userid]'");
		}
	} 
	// ## </ucs>");
but i moved the ucs code after the ");

Code:
$DB_site->query("
		INSERT INTO " . TABLE_PREFIX . "reputation (postid, reputation, userid, whoadded, reason, dateline)
		VALUES ($postid, $score, $userid, $bbuserinfo[userid], '" . addslashes(fetch_censored_text($reason)) . "','" . TIMENOW . "')

	");
// ## <ucs>
	if ($vboptions['uttpoints_enablesystem'] == '1')
	{ // It's enabled! Yay!
		if ($score > '0')
		{ // If the amount of reputation is positive...
			if ($vboptions['uttpoints_pointsforgreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforgreputation'] * $score);
			}
		}
		else
		{ // If the amount of reputation is negative...
			if ($vboptions['uttpoints_pointsforbreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforbreputation'] * $score);
			}
		}
		if (isset($givethempoints))
		{ // If they get money....
			// Send the query and we're done.
			$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$userinfo[userid]'");
		}
	} 
	// ## </ucs>
I think thats a small error in the installation guide as im pretty sure it said add that code in after

Code:
	$DB_site->query("
		UPDATE " . TABLE_PREFIX . "user
		SET	reputation = $userinfo[reputation],
			reputationlevelid = $reputationlevelid
		WHERE userid = $userinfo[userid]
and not after

Code:
	$DB_site->query("
		UPDATE " . TABLE_PREFIX . "user
		SET	reputation = $userinfo[reputation],
			reputationlevelid = $reputationlevelid
		WHERE userid = $userinfo[userid]
	");
Reply With Quote
  #2310  
Old 01-02-2005, 03:34 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorFm.com
ok i think i have fixed this

the code was

Code:
$DB_site->query("
		INSERT INTO " . TABLE_PREFIX . "reputation (postid, reputation, userid, whoadded, reason, dateline)
		VALUES ($postid, $score, $userid, $bbuserinfo[userid], '" . addslashes(fetch_censored_text($reason)) . "','" . TIMENOW . "')

	
// ## <ucs>
	if ($vboptions['uttpoints_enablesystem'] == '1')
	{ // It's enabled! Yay!
		if ($score > '0')
		{ // If the amount of reputation is positive...
			if ($vboptions['uttpoints_pointsforgreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforgreputation'] * $score);
			}
		}
		else
		{ // If the amount of reputation is negative...
			if ($vboptions['uttpoints_pointsforbreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforbreputation'] * $score);
			}
		}
		if (isset($givethempoints))
		{ // If they get money....
			// Send the query and we're done.
			$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$userinfo[userid]'");
		}
	} 
	// ## </ucs>");
but i moved the ucs code after the ");

Code:
$DB_site->query("
		INSERT INTO " . TABLE_PREFIX . "reputation (postid, reputation, userid, whoadded, reason, dateline)
		VALUES ($postid, $score, $userid, $bbuserinfo[userid], '" . addslashes(fetch_censored_text($reason)) . "','" . TIMENOW . "')

	");
// ## <ucs>
	if ($vboptions['uttpoints_enablesystem'] == '1')
	{ // It's enabled! Yay!
		if ($score > '0')
		{ // If the amount of reputation is positive...
			if ($vboptions['uttpoints_pointsforgreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforgreputation'] * $score);
			}
		}
		else
		{ // If the amount of reputation is negative...
			if ($vboptions['uttpoints_pointsforbreputation'] != '0')
			{ // Needed value is not 0... good.
					$givethempoints = ($vboptions['uttpoints_pointsforbreputation'] * $score);
			}
		}
		if (isset($givethempoints))
		{ // If they get money....
			// Send the query and we're done.
			$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$userinfo[userid]'");
		}
	} 
	// ## </ucs>
I think thats a small error in the installation guide as im pretty sure it said add that code in after

Code:
	$DB_site->query("
		UPDATE " . TABLE_PREFIX . "user
		SET	reputation = $userinfo[reputation],
			reputationlevelid = $reputationlevelid
		WHERE userid = $userinfo[userid]
and not after

Code:
	$DB_site->query("
		UPDATE " . TABLE_PREFIX . "user
		SET	reputation = $userinfo[reputation],
			reputationlevelid = $reputationlevelid
		WHERE userid = $userinfo[userid]
	");
There are no errors inside of the guide that we are aware of, most of the time when there is an error it is on the end user

and yes there is a paypal action that is avaible at Geeky Designs forums.
Reply With Quote
  #2311  
Old 01-02-2005, 04:27 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

must be my eyes at 5 in the mornin... lol

and thanks, i just bought the paypal addon..!
Reply With Quote
Reply


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 08:23 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.06347 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
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
  • (9)bbcode_code
  • (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
  • (3)pagenav_pagelink
  • (3)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