Member Log In
Site Navigation
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]
![]() |
| | #1 |
| |
Status: Offline 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>
Thank you for any assistance. Jim |
|
| | #2 |
| |
Status: Offline 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>
|
|
| | #3 |
| |
Status: Offline 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 |
|
| | #4 |
| |
Status: Offline It's to stop things like sql/html/js injections. I left it in the ie fix. |
|
| | #5 |
| |
Status: Offline 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>
Jim |
|
| | #6 |
| |
Status: Offline Ah yeah, sorry, no variables will work apart from {option} and {param} |
|
| | #7 |
| | I see no difference between this and the standard quote, except for the phrase... ...after all, you're still quoting. |
|
| | #8 | |
| |
Status: Offline Quote:
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. | |
|
| | #9 | |
| | Quote:
| |
|
| | #10 |
| |
Status: Offline 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. |
|
![]() |
| Thread Tools | |
| |
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.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
























