vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Postbit Question. (https://vborg.vbsupport.ru/showthread.php?t=169523)

TCE Killa 02-03-2008 01:59 PM

Postbit Question.
 
Just need to know how to give users an option in there profile by creating a profile field, so they can put in an image address for a background image to show in there postbit. Any ideas? Thanks alot.

Opserty 02-03-2008 03:39 PM

Just make a new "Custom Profile Field" in the AdminCP then use the $post[fieldX] (X being a number) in the postbit(_legacy) template.

Brandon Sheley 02-03-2008 03:42 PM

This would take a little work to get the post bit background to change per post, not to mention it could make your board look very ugly depending on what the users use :(

Opserty 02-03-2008 03:45 PM

I was thinking you could use style="background-image: url($post[fieldX]);" I don't know if there are security implications or what not? But its true that it could make a mess of your board, like if someone chooses the background image to be Black and font on your board is Black it will annoy the heck out of other users.

TCE Killa 02-03-2008 03:47 PM

Quote:

Originally Posted by Loco.M (Post 1435402)
This would take a little work to get the post bit background to change per post, not to mention it could make your board look very ugly depending on what the users use :(

Thats true, I suppose it is not worth it, seen it on other forums though.

Quote:

Originally Posted by Opserty
Just make a new "Custom Profile Field" in the AdminCP then use the $post[fieldX] (X being a number) in the postbit(_legacy) template.

Thanks but I tried that and several other things, but no luck.

--------------- Added [DATE]1202060935[/DATE] at [TIME]1202060935[/TIME] ---------------

Quote:

Originally Posted by Opserty (Post 1435408)
I was thinking you could use style="background-image: url($post[fieldX]);" I don't know if there are security implications or what not? But its true that it could make a mess of your board, like if someone chooses the background image to be Black and font on your board is Black it will annoy the heck out of other users.

True, thanks alot though, I haven't tried this way, Ill try it in abit.

Maybe there is away people can choose there font color in postbit to?


All times are GMT. The time now is 05:54 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.00908 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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