![]() |
This may be kindof a stupid question, but......I got the hack installed and all seems good so far however all the actions are "out of stock" and I have tested posting threds etc but receive no points for doing so. Any ideas??
**edit** Well I figured out why it says out of stock now, I donated some points to myself and i am able to buy things now however users are not accumilating points for whatever they are doing. Any ideas guys?? BTW. Sory for not introducing myself. Charlie Dinges 23 yr MN. JUst started getting into vbportal/vbulletin etc. Really like it alot. Might explain why its 3:41 am and im on her eposting!!! :cheeky: |
Quote:
This time I used Crimson Editor. Great program. Out of curiosity, why does Dreamweaver change the files that I edit? |
Its not that dreamweaver in it self is bad, but most people do what dreamweaver tells them, so when they save files, it prefixes requires includes and some other php functions with a full path. :)
its not a bad editor, its just not great ;D |
Quote:
Points Table? Set this to the name of the table the points field is in. This table must be in the $bbuserinfo/$post/$userinfo arrays to display properly! (i.e. user or userfield tables) ~Only modify this if you know what you are doing!~ in the ucash setting? |
No, as the disclaimer says, dont modify that setting unless you know what your doing.
|
K thats what i figured i guess i just didnt know if there was a possibilty that thats what was causing the problem.
/scratches head |
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508 Here is the PHP code (I've highlighted line 508 in the code *** below ***) PHP Code:
Any ideas? |
There are 2 bugs in action.stickythread.php, these should have definitly been caught before release...
Open up action.stickythread.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
speling and a thread prefix, thanks :)
|
Weasal - are you saying this is the cause of my problem in post 889 above?
|
I Gotta Problem. For Some Reason Tha "Thief" Option Isnt Workin Anymore.
it says "There seems to have been a slight problem with the database" i dont know what to do. it was workin very well yesterday and my members love it. i didnt make any changes to the site at all to make it not work. What should i do? |
Right click and view source, we need to view the error message to see whats wrong.
|
Aight This Is What It Said
<html><head><title>StreetVerbz Database Error</title><style type="text/css"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head> <body></table></td></tr></table></form> <blockquote><p class="error"> </p><p class="error"><b>There seems to have been a slight problem with the StreetVerbz database.</b><br /> Please try again by pressing the <a href="javascript:window.location=window.location;" >refresh</a> button in your browser.</p><p class="error">An E-Mail has been dispatched to our <a href="mailto:dbmaster@example.com">Technical Staff</a>, who you can also contact if the problem persists.</p><p class="error">We apologise for any inconvenience.</p><form><textarea class="error" rows="15" cols="100" wrap="off">Database error in vBulletin 3.0.1: Invalid SQL: UPDATE user SET uttpoints=uttpoints+5.00, reputation=reputation- WHERE userid='1' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1 mysql error number: 1064 Can You See The Problem? |
How do I update the users money in the richest members info? My members are still getting very little money for each post even though I updated every forum?
|
Quote:
|
Quote:
http://www.giftedsouls.com/gs/ushop.php?do=richestusers I also want to know about the errors I get when I upload the functions_showthread.php as well as the showthread.php I will post them later because I want to figure this out first. |
** BUMP - Any help ? ** Quote:
|
Quote:
PHP Code:
|
sabret00the - Thx for the reply.
From what I can see you've put the $specialtemplates); on it's own line. Would this really make that much difference? BTW: the line where I said THIS IS LINE 508 was only put in there for posting here. It's not in the template at all. |
Ok here are the errors I'm getting from the includes/functions.php
Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1871 Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59 And this is the last file I need to upload. This is the mofo that is causeing the points to not move correctly I assume? |
Quote:
|
Quote:
|
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','&') . "explain=1\">Explain</a>)<br />\n"; $debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n"; if (is_array($tempusagecache)) { global $vbcollapse; $debughtml .= "\n<br /><br />\n<table class=\"tborder\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\" width=\"40%\">\n"; $debughtml .= "<thead><tr align=\"$stylevar[left]\"><td class=\"thead\"><a style=\"float:$stylevar[right]\" href=\"#\" onclick=\"return toggle_collapse('templateusage')\"><img src=\"$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_templateusage].gif\" alt=\"\" border=\"0\" /></a>Template Usage</td></tr></thead><tbody id=\"collapseobj_templateusage\" style=\"$vbcollapse[collapseobj_templateusage]\">\n"; $hiddentemps = ''; ksort($tempusagecache); foreach ($tempusagecache AS $tempname => $times) { $debughtml .= "<tr><td class=\"alt1\" align=\"$stylevar[left]\"><span class=\"smallfont\">" . iif($_TEMPLATEQUERIES["$tempname"], "<font color=\"red\"><b>$tempname</b></font>", $tempname) . " ($times)</span></td></tr>\n"; $hiddentemps .= "'$tempname',\n"; // this is only for vbulletin.com $countsql .= "\tWHEN '" . addslashes($tempname) . "' THEN usecount + $times\n"; $namesql .= ", '" . addslashes($tempname) . "'"; } |
any updates planned soon? :) or version updates with fixes in the last few posts?
|
OK, I've solved the problem that I had in post 889. If you look at the code on the page you will see there was a comma missing at the end of the list of items, i.e. 'stylecache', 'utt_store_act', etc.
The code below shows the correction: PHP Code:
|
Quote:
|
Sabret00the - thx. for your input - it pointed me in the right direction :).
|
Installed successfully now. Working fine on 3.0.1.
Nice work GeekyDesigns :). /me clicks INSTALL. |
Quote:
|
Flow Fushion - he means go back to your post where you pasted all that code and put [ PHP ] at the front of it and [ /PHP ] at the end of it. This makes the code more visible.
Make sure you take out the spaces before and after the [ and ] above. |
PHP Code:
|
Wow that was cool lol
|
Just so everyon knows we are working on .95, and ANY time you get global.php errors you have not hacked somthing properl
|
Ok than I'll mess with this file tonight. When most of my members are sleep.
|
yup as zack said, basically reapply changes you made to that file one by one, if that don't fix it, you'll have to reinstall
sad to say but link aint here atm and as he's the writer it's hard to just know what should be going wrong and where. |
Quote:
|
I failed....
Parse error: parse error in /home/giftedso/public_html/gs/includes/functions.php on line 1872 Fatal error: Call to undefined function: is_browser() in /home/giftedso/public_html/gs/global.php on line 59 |
It's working quite well over on my vB 3.0.1 forums. Just finished the installation! I'll let everyone know if there are any issues/errors as my members begin to use it. Thanks for the hack!
*clicks Install* -y2k- |
Quote:
Can Someone Help Please |
Quote:
|
All times are GMT. The time now is 10:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|