vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Disable Smileys and Annoying Images by BOP5 VB4 (https://vborg.vbsupport.ru/showthread.php?t=262161)

BirdOPrey5 08-23-2011 11:01 AM

It would be a lot of work for an unusual request. I was giving you an alternative.

John Lester 08-23-2011 10:28 PM

Yea I realized it wouldn't be easy :D I'll just move the other smilies :)

Limality 09-01-2011 09:41 AM

Hello, I followed the instructions to the dot and I still seem to have problems getting this mod to work. All Smilies are in the default smilies folder as it should be. One thing to mention though is, that most of the smilies were imported from phpBB earlier yesterday, but they seem to sit in the default smilies folder of vB. Also, I'm using the German Language Pack on my forum if that's any help in finding out what exactly isn't working.

vBulletin 4.1.5

Update

I removed [/forums/]* from this line...

Code:

$bfind = '|<img src="[/forums/]*images/smilies/[\w -.]+" border="0" alt="" title="([\w !@$#%&*()+-=?<>\';:]+)" class="inlineimg" />|';
to make it...

Code:

$bfind = '|<img src="images/smilies/[\w -.]+" border="0" alt="" title="([\w !@$#%&*()+-=?<>\';:]+)" class="inlineimg" />|';
This kind of worked for one smiley which is a .png, all other gifs are small animated gifs or transparent gifs and they're still visible. Another information I missed to mention earlier is that my forum runs directly from the domain http://www.lostgamers.ch/

BirdOPrey5 09-01-2011 11:09 AM

Removing [/forums/]* doesn't do anything of value, the * means it's optional, it doesn't have to be there.

The problem is you aren't using any titles for your smilies- probably because they were imported from phpbb. The mod needs a title for each smiley to work.

Limality 09-01-2011 07:14 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2240779)
Removing [/forums/]* doesn't do anything of value, the * means it's optional, it doesn't have to be there.

The problem is you aren't using any titles for your smilies- probably because they were imported from phpbb. The mod needs a title for each smiley to work.

Indeed, it is as you say :D I must've overread the part where it mentions the titles for smilies! Thank you for the help!

Cheers
Limality

OldSchoolDSL 12-19-2011 09:07 PM

BirdOPrey5, just wondering if you plan on expanding on this modification? Perhaps a per user option, where users themselves could elect to ignore photos all together (globally) or from a particular user?

Thank you in advance for taking the time to answer my reply :)

BirdOPrey5 12-19-2011 09:58 PM

Users can already disable images globally already in the user cp.

Per user image ignore is interesting but truthfully I doubt I will be adding it to this mod.

OldSchoolDSL 12-19-2011 10:14 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2279215)
Users can already disable images globally already in the user cp.

Per user image ignore is interesting but truthfully I doubt I will be adding it to this mod.

With so many setting within vBulletin, I often forget what is already there. :o

Thank you for taking the time to answer my question BirdOPrey5 :)

walsc 12-20-2011 09:42 PM

I searched for exactly this, thank you!
After reading your instructions I added a profile field, installed this addon, enabled it for the additional profile field, but it does not work.
If I enter a user-id to disable smilies it works perfect.
I don't know what I've done wrong with the profile-field.
My VB is version 4.1.9.

GRE 12-15-2012 06:46 AM

How we keep the same text? :D to become : D (without space)


All times are GMT. The time now is 02:04 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.00954 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)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