The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
any one help me to limit the content size
i want to limit my content size please help me how can i limit the page content length
what is its code <blockquote class="postcontent restore "> and <meta name="description" content= i want to set description length --------------- Added [DATE]1387710726[/DATE] at [TIME]1387710726[/TIME] --------------- any one help me from which file i can edit these settings |
#2
|
||||
|
||||
I don't know of a way you can set the description length in default vbulletin - it looks like it takes the first 500 characters of the first post to use as the description. What did you want to change it to? You'll probably have to modify the files.
|
#3
|
|||
|
|||
many sites are using the title and the category name in description like vbulletindotorg watch in ur page source plz tell me the procedure to change this or modify these settings
--------------- Added [DATE]1387773006[/DATE] at [TIME]1387773006[/TIME] --------------- or want to edit these settings upto 200 characters |
#4
|
||||
|
||||
I think it may be set in showthread.php around like 349. Change 500 to 200.
HTML Code:
$thread['meta_description'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title($thread['meta_description'], 500, false))); |
#5
|
|||
|
|||
thanks alot and if i want title and category name in description then what should i have to do
|
#6
|
||||
|
||||
Modify that line of code to put those things in there.
|
#7
|
|||
|
|||
Quote:
Parse error: syntax error, unexpected T_STRING in /home/islamick/public_html/showthread.php on line 282 --------------- Added [DATE]1387898684[/DATE] at [TIME]1387898684[/TIME] --------------- tell me what should i do to get rid from this error i have download the the file showthread.php and open it in dreamviewer then edit it after uploading it is giving me this error --------------- Added [DATE]1387898946[/DATE] at [TIME]1387898946[/TIME] --------------- what is proper encoding to edit application/x-httpd-php file??? |
#8
|
||||
|
||||
You should only use a plain text editor to edit any files and make sure the encoding you choose to save it in does NOT say "with BOM"!
|
#9
|
|||
|
|||
sure thanks the code is runing properly my file is ok now thanku so much dear sir
|
#10
|
|||
|
|||
You need to write a php function to limit number of words on page on content.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|