PDA

View Full Version : Coding Help Anyone?


daddysylem
11-09-2003, 03:36 PM
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
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..............

<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.