vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Post Images (https://vborg.vbsupport.ru/showthread.php?t=47700)

mistyl 01-14-2003 12:46 AM

Post Images
 
I searched for this and I can't seem to find it. If someone could please point me in the right direction lol!

I saw this at another board and thought it looked neat.

For Admins and Mods they had images in there posts. Like flowers and hearts. I know it has to do with CSS but I don't know where to start or how to get it there on Admins and Mods only posts

Xenon 01-14-2003 04:10 PM

look for custom postbit for admins and change it so also mods will have there own...

mistyl 01-14-2003 10:51 PM

Thanks Xenon!! I am having a problem though with it. I did it and creating a new postbit for it and it is not working lol!

Here is my fuction PHP:

// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
} else {

if ($$bbuserinfo[usergroupid]==6)
{eval("\$retval = \"".gettemplate("postbit2")."\";");
}
else{
eval("\$retval = \"".gettemplate("postbit")."\";");
}

}
return $retval;
}

// ###################### Start gettextareawidth #######################

I have the postbit name setup right. So I am a little puzzled lol!

Xenon 01-15-2003 11:06 AM

i think it should be like that:
PHP Code:

// do posts from ignored users
if (($ignore[$post[userid]] and $post[userid] != 0)) {
eval(
"\$retval = \"".gettemplate("postbit_ignore")."\";");
} else if (
$post[usergroupid]==6) {
  eval(
"\$retval = \"".gettemplate("postbit2")."\";");
} else {
eval(
"\$retval = \"".gettemplate("postbit")."\";");
}


return 
$retval;
}

// ###################### Start gettextareawidth ####################### 


mistyl 01-15-2003 05:17 PM

Xenon you are the best! It fully works now! Thank you so much!

Xenon 01-15-2003 05:45 PM

you're welcome :)


All times are GMT. The time now is 01:41 AM.

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.00937 seconds
  • Memory Usage 1,721KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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