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 09-26-2008, 07:31 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What Dismounted is saying is it's seldom used, so it's probably an unknown bug. You should submit it to the Bug Tracker so it can be fixed, as there's no way to enable by Usergroup.
Reply With Quote
  #12  
Old 09-26-2008, 03:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ransack View Post
But people like to cut and paste articles from webpages and this renders all the embedded content.
If you are using the WSYWIG editor, usually you can copy/paste articles and it retains all the formating from the article.
Reply With Quote
  #13  
Old 09-26-2008, 07:51 PM
Ransack Ransack is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
What Dismounted is saying is it's seldom used, so it's probably an unknown bug. You should submit it to the Bug Tracker so it can be fixed, as there's no way to enable by Usergroup.
Do they still fix bugs for 3.6?

Quote:
Originally Posted by Lynne View Post
If you are using the WSYWIG editor, usually you can copy/paste articles and it retains all the formating from the article.
Even if HTML is disabled?
Reply With Quote
  #14  
Old 09-26-2008, 07:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ransack View Post
Even if HTML is disabled?
I don't have html enabled and have copy/pasted articles to my forum using this method. Try it and see. You need to make sure you are using the WSYWIG editor though. Tables won't work, but text formating and links and images will, if I recall correctly.
Reply With Quote
  #15  
Old 09-27-2008, 02:49 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it will copy images, links, bold, italics, color and sometimes font size. It won't copy special formatting like floating images, iframes, tables, etc, but it copies all the basics. Unless I'm mistaken, it's the WYSIWYG editor that's allowing your members to paste in the articles in the first place.
Reply With Quote
  #16  
Old 09-27-2008, 04:54 AM
Ransack Ransack is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Yeah, it will copy images, links, bold, italics, color and sometimes font size. It won't copy special formatting like floating images, iframes, tables, etc, but it copies all the basics. Unless I'm mistaken, it's the WYSIWYG editor that's allowing your members to paste in the articles in the first place.
I guess this makes sense. I've disabled html and that fixed my "code" tags. But now a copy pasted article looks like this. It includes javascript.

See attachment javascript.png
Attached Images
File Type: png javascript.png (60.3 KB, 0 views)
Reply With Quote
  #17  
Old 09-27-2008, 03:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Back to headlines
Larger text Smaller text Taser ends emu scamper on Pennsylvania Turnpike

By Jennifer Reeger
TRIBUNE-REVIEW
Wednesday, September 3, 2008

Buzz up!








Kathy Rooney was heading east on the Pennsylvania Turnpike Monday when traffic came to a halt near the New Stanton exit.
She immediately thought construction was at the heart of the backlog, until she saw a large, gangly bird loping straight down the center of the highway.
"It was coming towards us, but it was on the white lines," said Rooney, of Mt. Lebanon. "It was like it knew to stay on the white lines. It stayed right down the middle."
story continues below


The turnpike interloper was an emu -- a large, flightless bird native to Australia -- that clogged the turnpike Monday for about two hours and sent state police scrambling to capture it.
"It created a backlog of traffic," said Sgt. Anthony DeLuca at the barracks in New Stanton. "Vehicles almost wrecked into each other, into the bird. We tried to chase it down and tried to catch it."
The bird -- bred for its meat and oil from its fat -- was trapped in traffic lanes surrounded by 5-foot high barriers on each side.
"Once it got in there it got stuck, and it didn't know what to do," DeLuca said


--------------- Added 27 Sep 2008 at 09:09 ---------------

I just copy/pasted that from this link: http://www.pittsburghlive.com/x/pitt.../s_586162.html and I show no javascript. I would probably take a moment to delete out all that stumbleupon/digg crap though.

Are you users not willing to take a second to do a little bit of 'prettying up' the page before posting it?
Reply With Quote
  #18  
Old 09-28-2008, 05:07 AM
Ransack Ransack is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Are you users not willing to take a second to do a little bit of 'prettying up' the page before posting it?
This makes me lol.

The members of this particular forum are hardly willing to do anything, except that they are quite content to exspend energy complaining.

Is there a quick place to do some kind of regex replacement like s/<script[\\w]*<\/script>//g that should at least help the majority of these cases. (Can I hook this in a plugin? Edit a .php file? I'd prefer a plugin hook but either way, where would I do this?)

Thanks again for the replies. Sorry for all of the dumb questions.
Reply With Quote
  #19  
Old 09-28-2008, 03:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know I use a plugin to do word replacement in posts for my mods. I use the "postbit_display_complete" hook to output the post:
PHP Code:
$this->post['message'] = whatever
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 02:45 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.04345 seconds
  • Memory Usage 2,272KB
  • 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
  • (1)bbcode_php
  • (6)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
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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