vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making "Work Safe" Style (https://vborg.vbsupport.ru/showthread.php?t=92647)

.Tim 07-21-2005 08:20 PM

Making "Work Safe" Style
 
I want to make a style where avatars and signatures don't show up at all and images (including attachments) show up as links. Like if the user had turned them off in their options. I don't want to effect any other style except the worksafe one. I know how to get rid of the avatars and signatures but not how to get the images/attachments how I want them. Any suggestions?

Dean C 07-22-2005 09:13 AM

Well make a child style of the current one you have. And just edit out the avatars and signatures from the postbit/userprofile templates :)

.Tim 07-22-2005 10:22 PM

1 Attachment(s)
I already have the avatars and signatures taken care of. It's the attachments/images that I'm having the problem with. I want them to appear as links, like it would if you have them turned off in the options but I only want it like that for the work safe style.

Like this, but only in the work safe style. I want the other styles to work normally and show the images.

Brinnie 07-22-2005 10:31 PM

Bump for .Tim :)


(is this the .Tim from invisionize?)

.Tim 07-22-2005 10:43 PM

Sorry, it's not. :D

.Tim 09-30-2005 02:03 AM

I finally got around to messing with this some more. I was able to get the attachments to show up as links like in the example. But I'm not able to figure out how to get images with the [img] tag to show up as a link.

damnit77 11-22-2005 06:05 PM

BUMP...

I am trying to do the same thing.....make a worksafe theme. .Tim, did you ever figure out how to disable images in a style?

Stangsta 11-22-2005 08:33 PM

Quote:

Originally Posted by .Tim
I finally got around to messing with this some more. I was able to get the attachments to show up as links like in the example. But I'm not able to figure out how to get images with the [img] tag to show up as a link.

how did you do it?

Borgs8472 11-22-2005 09:35 PM

Can conditionals be done with styles?

e.g.

if ( style is not bbuserinfo[style7] )

Show avs here

else

don't

/if

It would be nice...

damnit77 11-22-2005 09:38 PM

Or if anyone wants to let me use their worksafe theme..... :)


All times are GMT. The time now is 08:08 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.03503 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete