vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Coding Help Anyone? (https://vborg.vbsupport.ru/showthread.php?t=58492)

daddysylem 11-09-2003 03:36 PM

Coding Help Anyone?
 
1 Attachment(s)
This is not a hack, and I'm not sure where to ask this question.
So I will start here.................

I am conducting a major board overhall on my test site, and I ran into a code problem that I can't seem to figure out.

The problem is that I want to get a users store points to show up in the "Forum Description" on the Forum Home page as shown in photo attachment #1, and I'm trying to find a code to enter into the "Add New Forum - Forum Description" area of the AdminCP shown in photo attachment #2, that will call the current users store points...............

Html works fine in this area but it doesn't seem to recognize PHP

Help anyone??

assassingod 11-09-2003 03:39 PM

Quote:

Originally Posted by daddysylem
This is not a hack, and I'm not sure where to ask this question.
So I will start here.................

I am conducting a major board overhall on my test site, and I ran into a code problem that I can't seem to figure out.

The problem is that I want to get a users store points to show up in the "Forum Description" on the Forum Home page as shown in photo attachment #1, and I'm trying to find a code to enter into the "Add New Forum - Forum Description" area of the AdminCP shown in photo attachment #2, that will call the current users store points...............

Html works fine in this area but it doesn't seem to recognize PHP

Help anyone??

You should be able to use a variable such as $bbuserinfo[points] in the field description (Im not sure if youve tried that already though)

daddysylem 11-09-2003 03:53 PM

Thank you, but I tried that already and it just returns the text string "$bbuserinfo[points]", It doesn't seem to want to recognize the PHP as PHP. It seems to see it as just plain text.

This is what I have in there now..............
Quote:

<font color=99ccff>Buy Things With Your Points Here<br> <b>Your Store Points: $bbuserinfo[points]</b>

assassingod 11-09-2003 03:58 PM

Ok, I don't believe there is a hack that allowed variables to be parsed in the forum description. So this will be better off in the Hack Requests forum (Let a mod move this:))

daddysylem 11-09-2003 04:04 PM

Ok, move me please.............

daddysylem 11-09-2003 05:11 PM

Anyone else have any Ideas on how to get this to work?

sabret00the 11-10-2003 12:44 AM

ok, you could try this, not sure if it will work, but define $forumstore and it's value in your php include and then try and call it like that

daddysylem 11-10-2003 11:38 AM

sabret00the,
Thanks for the reply but I'm not sure how to do that. I am not a hacker nor do I know alot about PHP and I know enough about HTML to get myself in trouble.......lol

If you could give me an example, I'm fairly good at picking things up.

Dean C 11-10-2003 05:31 PM

Moved for you...

daddysylem 11-11-2003 12:39 PM

Thank You Mist,

I still have not resolved this problem and any help or ideas from anyone would greatly be appreciated.


All times are GMT. The time now is 12:34 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.01043 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete