The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Removing text?
Hey guys,
I need a bit of help trying to create a "Read More" type thing for our sites news page. What I would like to do, ideally, is have our news guys be able to mark off a block of text that won't show on the front news page but will show on the "Comments" page (ie: the actual forum). I sort of have this working using simple CSS which essentially replaces custom [readmore] tags with <span class="readmore"> that is defined in our CSS stylesheet as display:none on the front page and display:block in the forum. The problem there, of course, is that it still increases the download size of the front page. Basically, I guess what I want is something that would strip out the text between the [readmore] tags on the fly. If I can get something that would also count the characters before it strips them out, so that I can have [ Read More (3212 bytes) ] then that would be cool too, but certainly not required. Boiled down, I guess what I need help with is a regex to detect [readmore] VBCode tags |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|