Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-22-2005, 09:41 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stangsta
how did you do it?
I don't remember, I'll have to look into it. I gave up on this project for now but I should still have the changes I made somewhere.
Reply With Quote
  #12  
Old 11-22-2005, 10:35 PM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done

Not sure if this will work in 3.5.0, only tested on 3.5.1

Upload the attached plugin and modify it (change STYLEID = 67 to STYLEID = <styleid> of your worksafe style).
Attached Files
File Type: xml worksafe-img-bbcode.xml (339 Bytes, 34 views)
Reply With Quote
  #13  
Old 11-22-2005, 11:34 PM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk
Done

Not sure if this will work in 3.5.0, only tested on 3.5.1

Upload the attached plugin and modify it (change STYLEID = 67 to STYLEID = <styleid> of your worksafe style).
working on 3.5.1 here

How would you remove the avatars on that specific style? Remove it from the postbit?
Reply With Quote
  #14  
Old 11-23-2005, 12:13 AM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stangsta
How would you remove the avatars on that specific style? Remove it from the postbit?
That's what I did.
Reply With Quote
  #15  
Old 11-23-2005, 09:36 PM
ZGeek ZGeek is offline
 
Join Date: Jan 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk
Done

Not sure if this will work in 3.5.0, only tested on 3.5.1

Upload the attached plugin and modify it (change STYLEID = 67 to STYLEID = <styleid> of your worksafe style).
Awesome stuff. I have custom bb image code [newsimg] is it possible to modify this to include items like this?
Reply With Quote
  #16  
Old 11-23-2005, 10:18 PM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is (afaik) possible to do what you want, except its complex. The way I see you being able to do it is using the bbcode_create hook to modify the $this->tag_list array to modify the replacement html of the bbcode as the bbcode parser starts up.

It would look something like below, but note that i did it based on the tag example [newsimg]url[/newsimg] not [newsimg=url]text[/newsimg]. To do the second one, change no_option to option. I havent tested this and it could break the bbcode parser (with either setting).

PHP Code:
if(STYLEID == XX)
{
$this->tag_list['no_option']['newsimg']['html'] = '<a href="{param}" target="_new">{param}</a>';

Reply With Quote
  #17  
Old 11-24-2005, 12:10 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would be interested in something like this that could also turn on the swear filter.

I don't filter anything on my site but there have been problems with people getting locked out when their work software detects profanities.
Reply With Quote
  #18  
Old 11-24-2005, 12:43 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in global_start

PHP Code:
if(STYLEID == XX)
{
$vbulletin->options['enablecensor'] = 1;
$vbulletin->options['censorwords'] = "WHATEVER WOULD GO INTO THE CENSOR WORDS INPUT IN THE ADMINCP";
$vbulletin->options['censorchar'] = '*'#only necessary if you dont already have it set, could always set it in admincp and take this line out

Reply With Quote
  #19  
Old 12-01-2005, 09:02 PM
ZGeek ZGeek is offline
 
Join Date: Jan 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks merk, I will give that a shot.
Reply With Quote
  #20  
Old 05-08-2006, 11:07 AM
robgeo robgeo is offline
 
Join Date: Mar 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
Well make a child style of the current one you have. And just edit out the avatars and signatures from the postbit/userprofile templates

Thanks!!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07965 seconds
  • Memory Usage 2,279KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete