vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - CES Site News (https://vborg.vbsupport.ru/showthread.php?t=137365)

thincom2000 01-18-2008 01:46 AM

[previewlength] takes a numerical value.

blastup 01-18-2008 03:22 AM

ah i got you.. won't that be hard to determine how much words are in plus the codes.. i mean if a image is inside that wont that be cut off? is there a way that could make it just wrap the things that will go in newsdisplay and show all in the shownews. becuase if its wrap the things that will show in newsdisplay you wont be likey to cut off any images or codes.. becuase you can place them correctly. let me know thanks man

thincom2000 01-19-2008 10:39 AM

Thanks for the input. I believe you are correct in that images or any codes would be cut off and broken on newsdisplay if a previewlength was applied. I will probably have to implement a regex to get around this unless someone knows a faster and not extremely convoluted way.

blastup 01-19-2008 11:55 PM

wow that would be so awesome if you could do that lol . im still a noobie coder so i cant realy do anything major... .. i think what you can do is something like a wordpress blogs. more button...just write and put that more button and the rest will be cut off on newsdisplay.. and everything will be showed on shownews.. ps. your script rocks man.. let me know asap when you got it done.. thanks man.

blastup 01-19-2008 11:59 PM

ps i have a question.. is there a way to edit the comments or something? i tried to but can't find it. is it just parsed from showthread? or you can also edit it? i want to take away the
Join Date:
Location:
Posts:
on the comments from users? im gonna go check again

thincom2000 01-20-2008 05:22 AM

There is a [more] bb-code included with this mode that does what you described two posts above.

The comments use the standard postbit you use in your forum. If you want to use a different postbit you would have to create it and make the appropriate modifications.

thincom2000 01-20-2008 06:36 AM

Quote:

Originally Posted by thincom2000 (Post 1424336)
I believe you are correct in that images or any codes would be cut off and broken on newsdisplay if a previewlength was applied.

After some testing, I am impressed that this is not the case. I doubt it has anything to do with my coding but rather what PHP5 considers to be a word. BB-Codes, HTML, etc. are not corrupted if they span over the edge of the set preview length.

blastup 01-20-2008 12:47 PM

thanks for the answers..[more] the more bb.. cuts of the rest of the post to display it on shownews but the problem is that. it just displays the things inside the [more]bb.. can you make it that so it shows the whole thing thread on shownews?

blastup 01-20-2008 12:47 PM

Quote:

The comments use the standard postbit you use in your forum. If you want to use a different postbit you would have to create it and make the appropriate modifications.
how do you moderate it?

SnitchSeeker 01-24-2008 05:05 PM

I can officially say that this is NOT compatible with vbseo.

I have just installed it on a test site and all links, posts and threads in the news forum are un-seo'd, as well as the news forum link. All other forums, threads and links are fine (still pretty urls). So it only ruins url's in the forum(s) you use for news.

Aside from the non-seo-ness it works great!

It will take some vbseo hacks to get it to work, but I'm sure it is possible for those who know how. I am not one of those. I am in contact with vbseo hoping to get help to get it to work. I'll post their reply here.


All times are GMT. The time now is 09:32 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.01312 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete