Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Mar 2011, 00:07
wpeloquin wpeloquin is offline
 
Join Date: May 2006
Lightbulb Pulling a list via query from a custom database table

I found a few posts in similar nature to this request, but none seem to key in on what I am trying to do, or provide enough information for me to figure it out.

[EDIT] I figured it out while typing out this request. I will still post the data for others, if they need it.

I have added a new custom table to my database where i store character data. each user is allowed to create more than 1 character, and i would like to display a list of the user's characters in the postbit beneath the signature.

[EDIT] The code i am posting is rough code designed for simple functionality, feel free to edit/design as needed!

I am using the postbit_display_complete hook with the following code for the plugin:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then, in the custom 'roster_postbit' template, i put:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If anyone has advice on cleaning up the code, or knows a better way of doing this, please advise. Thank you!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 03:18.

Layout Options | Width: Wide Color: