vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Two Images In Post bit ? (https://vborg.vbsupport.ru/showthread.php?t=310902)

Spangle 04-29-2014 06:01 PM

Two Images In Post bit ?
 
I'm looking for a Mod that will allow members to have two images in Post Bit,
I want to be able to show an Avatar, plus the crest of a soccer team underneath.

kh99 04-29-2014 06:48 PM

If you have all the images of the crests, you could do something like add a profile field with team choices, then in the postbit, use that field to decide which image to display (either have a lot of 'vb:if' statements to decide, or else make the value of the profile field part of the image file name).

A mod might already exist for something like this, I just don't know offhand.

Spangle 04-29-2014 07:20 PM

Quote:

Originally Posted by kh99 (Post 2495365)
If you have all the images of the crests, you could do something like add a profile field with team choices, then in the postbit, use that field to decide which image to display (either have a lot of 'vb:if' statements to decide, or else make the value of the profile field part of the image file name).

A mod might already exist for something like this, I just don't know offhand.

It needs to be user selectable really, from the Avatar gallery

cellarius 04-29-2014 07:51 PM

User profile fields are user selectable.

Spangle 04-29-2014 08:07 PM

Quote:

Originally Posted by cellarius (Post 2495384)
User profile fields are user selectable.

Very true, !

However, I can't see how it can be used to display another image from the avatar gallery ?

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

I've done this using this MOD :

https://vborg.vbsupport.ru/showthread.php?t=300604

tbworld 04-29-2014 08:55 PM

Take a look at " '/profle.php' #2937 -- do=editavatar", and template 'modifyavatarbit'.

You can use the sections of code above to begin to create an additional avatar entry.

Sorry, I cannot provide you with a simple answer. Maybe there is a similiar MOD that you can use as an outline. I did a quick search, but did not come up with anything useful. I rarely look at the modification section, so I am not the best person to answer my own, "is there a similiar MOD" question. There are smarter folks out there. :)


All times are GMT. The time now is 11:42 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.01146 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_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