vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Custom Hack (easy) (https://vborg.vbsupport.ru/showthread.php?t=37543)

pattox2k1 04-17-2002 11:09 AM

Custom Hack (easy)
 
Hi,
i wonder if a custom hack would be possible....if you guys aint sick of making em yet.
anyways...you see, Urbansoundz message board is mearging with a much larger message board, and not every1 fully agreed with it (including me).
I asked the admin if there was such a hack that displays a lil image in the part on the left under your personal details, with the image saying something like original Urbasnoundz member of Staff....just a lil thing that we would like to see, seeing how we like the board how it was.

do you get me? anyways in a few words -
the hack involves tha abbility for the admin to select users in the cp, so that an image shows in there details on left side of every post.

i hope some1 can do this! thanks!

bye! :glasses:

pattox2k1 04-17-2002 07:13 PM

hmmm, i didnt think it would be that hard :(

Silenced Soul 04-17-2002 08:47 PM

You can do this really simply, just make a new profile field with this set up:
Field Required? No
Field Hidden? No
Field Editable by user? No

Submit it.

Then, after you've saved it, click on that codes edit link, and look at the profile field number, it'll be something like profilefield=6.

Then, in the postbit template, where you want the pic or text to show up, put $post[field#].

This is the easiest way to do it, the only thing is, you'll have to edit the users individually....otherwise, you could make it editable by users, and tell in the description they have three options. Your site, other site, or blank.


All times are GMT. The time now is 03:29 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.01073 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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