Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » General vBulletin Section » vBulletin Modification Requests » BBCode request similar to [QUOTE]
Reply
Page 1 of 2 1 2 >

 

  • Thread Tools
Old 09-05-2006, 06:07 AM   #1
eJM
Senior Citizen

eJM's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss32
Location: teh Ether
Age: 60
eJM is on a distinguished road
Status: Offline Default BBCode request similar to [QUOTE]
I would like to add a custom BBCode to my board that is similar to a QUOTE in that you can add a name parameter. I am not looking to to add any buttons or retrieve any text or message from a thread.

I will call it the [EXCERPT] tag and it will allow me to wrap the tag around a group of text that is quoted from an article or interview found anywhere. An image can describe it much better than I can:

http://www.thefloorpro.com/images/su...rpt_bbcode.gif

I already know that I will have to add 2 phrases, "Excerpt:" and "Authored by <strong>{1}</strong>" and a template:

Code:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
   <div class="smallfont" style="margin-bottom:2px">$vbphrase[excerpt]:</div>
   <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
      <tr>
         <td class="alt2" style="border:1px inset">
         <if condition="$show['username']">
            <div><phrase 1="$username">$vbphrase[authored_by_x]</phrase></div>
            <div style="font-style:italic">$message</div>
            <else />
            $message
         </if>
         </td>
      </tr>
   </table>
</div>
What I need help with is turning this into a custom BBCode that will work. Can anyone help me do this?

Thank you for any assistance.

Jim
Reply With Quote
Old 09-05-2006, 07:23 AM   #2
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Well you can't use a conditional but you can use this code:
Code:
<div style="margin:20px; margin-top:5px; width: 100%;">
   <div class="smallfont" style="margin-bottom:2px">Excerpt:</div>
   <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
      <tr>
         <td class="alt2" style="border:1px inset">
            <div>Authored by <strong>{option}</strong></div>
            <div style="font-style:italic">{param}</div>
         </td>
      </tr>
   </table>
</div>
Then if you go into the ACP and add custom bbcode paste that in there with the tag excerpt and then you can use: [EXCERPT=Author Name]Excerpt goes here.[/EXCERPT]
Reply With Quote
Old 09-05-2006, 09:26 AM   #3
eJM
Senior Citizen

eJM's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss32
Location: teh Ether
Age: 60
eJM is on a distinguished road
Status: Offline Default
Thank you for that information. Why can't a conditional be used? I am assuming the conditional fixes an IE display issue and most of my members use IE.

Best R'gards,

Jim
Reply With Quote
Old 09-05-2006, 09:45 AM   #4
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
It's to stop things like sql/html/js injections. I left it in the ie fix.
Reply With Quote
Old 09-05-2006, 04:43 PM   #5
eJM
Senior Citizen

eJM's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss32
Location: teh Ether
Age: 60
eJM is on a distinguished road
Status: Offline Default
Thank you for the help with this. The <if condition="$show['iewidthfix']">width: 100%;</if> was apparently for an IE display glitch because the box over-flowed it's right side boundary until I reduced the width to less than 100% (I selected 95% because it looked best). There was also a problem with crowding the text area -- $stylevar[cellpadding] didn't seem to do its job. I changed that value to 6px. Below is the code I finally settled on.
Code:
<div style="margin:20px; margin-top:5px; width: 95%;">
   <div class="smallfont" style="margin-bottom:2px">Excerpt:</div>
   <table cellpadding="6px" cellspacing="0" border="0" width="100%">
      <tr>
         <td class="alt2" style="border:1px inset">
          <div>Authored by <strong>{option}</strong></div>
            <div style="font-style:italic">{param}</div>
            </td>
      </tr>
   </table>
</div>
Thank you again for your assistance with this.

Jim
Reply With Quote
Old 09-05-2006, 05:04 PM   #6
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Ah yeah, sorry, no variables will work apart from {option} and {param}
Reply With Quote
Old 09-05-2006, 05:44 PM   #7
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
I see no difference between this and the standard quote, except for the phrase...

...after all, you're still quoting.
Reply With Quote
Old 09-06-2006, 08:30 AM   #8
eJM
Senior Citizen

eJM's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss32
Location: teh Ether
Age: 60
eJM is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by Colonel Ingus
I see no difference between this and the standard quote, except for the phrase...

...after all, you're still quoting.
Yes, you're right, it is still a quote -- a quote of an article or interview. Quoting part of an article or interview is called "excerpting" and that is what I want my members to understand when they see it. When they see a standard quote box, it is usually assumed that another member said it someplace either in the same thread or at least someplace on the same forum. But the excerpts I will be using will often times be from someone who is not a member and maybe not even on the Net.

My first use of this new feature was for a small portion of a magazine article that is not anywhere on the Internet yet. It is a matter of semantics and I hope the author will appreciate it enough to allow me to use the feature 9 more times in a series of discussions concerning the whole article and the industry (floor covering) most of my members are a part of.

Never underestimate the power of a word (or phrase).

Thank you,

Jim

Last edited by eJM; 09-06-2006 at 08:37 AM.
Reply With Quote
Old 09-06-2006, 04:27 PM   #9
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
Quote:
Originally Posted by Grumpy ol' Jim
Yes, you're right, it is still a quote -- a quote of an article or interview.
When you use this feature you might want to have it add the phrase "Author holds original copyright" or similar. You would legally need to do this because an excerpt is not just a quote of an article, it is a sample of a larger piece of work, and this larger piece of work is still copyrighted by the original author when you republish excerpts from it
Reply With Quote
Old 09-06-2006, 05:12 PM   #10
eJM
Senior Citizen

eJM's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss32
Location: teh Ether
Age: 60
eJM is on a distinguished road
Status: Offline Default
Your comment, "an excerpt is not just a quote", contradicts your original reply to this thread. I wrote an article on copyright (posted on TheAdminZone.com) and understand what must be done to comply with International law and to satisfy ethics as best I can. I always include copyright information, including a link to the copyright holder and the author (not always the same entity) whenever possible. The feature, however, is as it is. It indicates the content of the box and it gives credit to the author by title and name. All other content associated with the excerpt should include any additional information. No need to clutter the excerpt box.

There is actually no such thing as "original copyright". You either hold the copyright, or you don't. Many times the author of a piece releases the copyright to a publishing organization. You might be able to retain reprint rights. I had a contract with Sandhills Publishing (CPU Magazine and others) that would not allow me to reprint my copy or my photographs for a period of 1 year. I wrote an article about removing scratches from acrylic for one of my websites and allowed selected websites to publish it, but not to redistribute it -- they only had limited reprint rights, not the copyright. Unless the author keeps the work for themself, copyright is a negotiable contract and can contain all kinds of clauses. An author does not always equal copyright holder, so having that info you suggested in the excerpt box would not always be factual.

R'gards,

Jim

Last edited by eJM; 09-06-2006 at 05:17 PM.
Reply With Quote

Reply
Page 1 of 2 1 2 >

« Need some help getting started | Users online stats last 12 hours for 3.6 »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Must Request to Make You a Buddy xfile vBulletin Modification Requests 9 08-06-2006 10:20 PM
Hack Request --> Request taken by NICKNAME Shapeshifter Site Feedback 13 07-12-2006 08:33 AM
bbcode parse nfo files as png tokenyank vBulletin Modification Requests 8 03-16-2005 01:19 AM



All times are GMT. The time now is 05:01 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!