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 07-25-2007 02:46 AM

Okay thank you for reporting this. I had first seen this on your forum and thought maybe you configured it like this on purpose. This could be happening because you may have thread previews disabled.

In news.php find:
PHP Code:
PHP Code:

// disable thread preview if we can't view threads
if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
    
$vbulletin->options['threadpreview'] = 0;


Replace with:
PHP Code:
PHP Code:

// disable thread preview if we can't view threads
if (!($forumperms $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
    
$vbulletin->options['threadpreview'] = 0;
}
else
{
    
$vbulletin->options['threadpreview'] = 1;


In CES News, the threadpreview setting is treated as a 0 = off, 1 = on value.

Please let me know if this fixes the problem. If it does, I can upload a new version with a few optimizations.

Chadi 09-02-2007 06:11 PM

This seemed to have happened before. I am using the highslide hack here https://vborg.vbsupport.ru/showthread.php?t=139167

When viewing the actual blog post on my site, it does not show the attachments at all, unless I'm viewing the blog main page, which it shows the attachments plus the highslide correctly.

How do I fix this in the news mod?

thincom2000 09-03-2007 04:04 PM

Hm... I tried installing highslide to test this. I am not seeing the bug you have described. First, make sure you are using the most recent version of that hack. The newest one requires no file or template edits, so you should undo any you may have done for the old version.

If this does not help, perhaps this is a result of one of the few small fixes on my site. I will have to package my current version early this week anyway since I have long delayed releasing it.

Chadi 09-03-2007 05:09 PM

All my hacks are always up to date actually. Yours also and the highslide one as well.

Chadi 09-03-2007 06:50 PM

This is happening again. Getting the purple background behind the comments area.

Also, replies made are not showing up as comments, which still shows "0" even though replies were made to the blog post. Am I missing something?

the news_comments template is default, showsnews is also default

thincom2000 09-03-2007 08:56 PM

Hm... I checked your site and the only thing that appears to be out of order in my browser is the purple background.

In the news_comments template add class="page" to the first div. This should fix the problem. I will include this in the next release (even though I thought it was there already for a very long time ???).

Ba$im 09-03-2007 08:59 PM

ItÂ’s look like very nice
I wil try it soon

thanks for gr8 job

Chadi 09-03-2007 09:25 PM

Now it shows another purple bar below the comments box.

http://www.talkjesus.com/shownewsces.php?t=15408

I also did as you said

Code:

<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">

Also, the highslide does not work still when viewing the blog post itself, only in blog main page.

thincom2000 09-04-2007 02:08 PM

Aha, progress. Trust me, the purple box has gotten smaller. Somewhere in your templates there is an extra <br> tag. Check your news_comments template again. If there is a <br> tag at the end, remove it.

As for highslide breaking, the only explanation I can give is that your current version shownews.php is based on showthread.php from vBulletin 3.6.7. When I release the one updated for 3.6.8 this week, it should hopefully solve that issue.

thincom2000 09-09-2007 07:46 PM

Version 1.5.0 has finally been released. This version includes the changes that were made to showthread and forumdisplay since 3.6.7, including template hooks and the like. This should fix a number of issues users have been having since then, and several bugs that occurred in some configurations have been fixed.


All times are GMT. The time now is 05:00 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.01268 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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