Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2003, 03:36 PM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Coding Help Anyone?

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??
Attached Images
File Type: jpg photo_1.jpg (69.5 KB, 0 views)
File Type: jpg photo_2.jpg (53.4 KB, 0 views)
Reply With Quote
  #2  
Old 11-09-2003, 03:39 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #3  
Old 11-09-2003, 03:53 PM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #4  
Old 11-09-2003, 03:58 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #5  
Old 11-09-2003, 04:04 PM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, move me please.............
Reply With Quote
  #6  
Old 11-09-2003, 05:11 PM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone else have any Ideas on how to get this to work?
Reply With Quote
  #7  
Old 11-10-2003, 12:44 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 11-10-2003, 11:38 AM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 11-10-2003, 05:31 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moved for you...
Reply With Quote
  #10  
Old 11-11-2003, 12:39 PM
daddysylem daddysylem is offline
 
Join Date: Oct 2003
Location: So. California
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You Mist,

I still have not resolved this problem and any help or ideas from anyone would greatly be appreciated.
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 12:36 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.04471 seconds
  • Memory Usage 2,267KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete