vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to get rid of the smiiley column in forumdisplay and newposts? (https://vborg.vbsupport.ru/showthread.php?t=251323)

Alfa1 09-29-2010 12:43 AM

How to get rid of the smiiley column in forumdisplay and newposts?
 
IMO the smiley/ post icon column is pretty much useless. How can I get rid of it?

kh99 09-29-2010 06:50 PM

You should just be able to edit it out of the template, I'd think. If you don't know which one it's in, turn on "Add Template Name in HTML Comments" in your options then view the page source.

(ETA: but now I notice that you've been around for a long time so you probably know that. Maybe I don't understand what you're asking...)

Alfa1 09-30-2010 12:23 AM

Yes, it should be possible to edit it out of the various templates where its used, in such a way that it doesnt negatively affect my site. The question is where to find this. Who knows in which templates I should remove what?

Lynne 09-30-2010 12:29 AM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

(I could have sworn there were articles either here or on vb.com that tell how to do this also.)

Alfa1 09-30-2010 01:17 AM

Seems it can be done by globally disabling post icons:

UPDATE forum SET options=options - 1024 WHERE (options & 1024);

After running the query, you will need to edit a single forum in the forum manager and resave it so the datastore is updated with the correct values.

Thanks to an old post from Wayne on vb.com


All times are GMT. The time now is 04:43 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.01039 seconds
  • Memory Usage 1,710KB
  • 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
  • (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