vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - ICash, Simple, stand alone point system. (https://vborg.vbsupport.ru/showthread.php?t=119086)

Black Tiger 03-31-2007 02:52 PM

Problem found. Reuploaded all the files and reimported product (set overwrite to yes).

Now when trying to change the postbit_legacy template I get this error:
Code:

Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/satfun/domains/myforums.org/public_html/bbs/includes/adminfunctions_template.php(3596) : eval()'d code on line 59
Help?

deezelpope 03-31-2007 02:52 PM

Boy, I dunno...keep getting a strange error message...is this coding right?

$vboptions[icashn]: $post[$vboptions[icashf]]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>

Here's the error message...

vBulletin MessageThe following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /community/includes/adminfunctions_template.php(3596) : eval()'d code on line 86

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Blaine0002 03-31-2007 02:57 PM

sorry it should be
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>

deezelpope 03-31-2007 02:58 PM

LOL! Thank you once again, Blaine!

DJ Teac 03-31-2007 03:00 PM

How can i change the "donate" text in that Text under the navbar.

You know that

Communityname > donate > donate money....

Because it looks some kind of strange to have that 1 english word left in a german board.
Everything else in icash i managed to do myself:)

deezelpope 03-31-2007 03:01 PM

UH OH!!! New problem!!!

Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';
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='2'' at line 1
Error Number : 1064
Date : Saturday, March 31st 2007 @ 04:00:08 PM
Script : http://badgirljammieclub.com/communi...=postreply&t=1
Referrer : http://badgirljammieclub.com/communi...quote=1&p=1683

DJ Teac 03-31-2007 03:22 PM

Quote:

Originally Posted by Blaine0002 (Post 1216883)
sorry it should be
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>

Shouldn't that be

Code:

$vboptions[icashn]: $post[money]
 <br>
 <a href="donate.php?$session[sessionurl]to=$post[username]">Donate</a>

Because on my vB it didn't work with "$member[username]"

deezelpope 03-31-2007 03:24 PM

@DJ Teac...which version of vb do you have?

Nevermind...I found it...I'm having the same Database error messages you did...guess I'll keep trying.:(

deezelpope 03-31-2007 03:28 PM

Changed it...still got the Database error message.:( But I don't think it's the coding...I think it's gotta be one of the files I uploaded...:(

Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';
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='2'' at line 1
Error Number : 1064
Date : Saturday, March 31st 2007 @ 04:27:05 PM
Script : http://badgirljammieclub.com/communi...=postreply&t=1
Referrer : http://badgirljammieclub.com/communi...quote=1&p=3523

deezelpope 03-31-2007 03:30 PM

Your coding did fill in the member's name on the donation form...thanks, DJ!


All times are GMT. The time now is 04:41 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.01962 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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