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)

Chadi 03-20-2007 02:30 AM

It must be a part of the hack somewhere because it was not there before and the blue is only behind the comments field, which indicates some code in the template pulling that up.

Which template would I edit for this area?

thincom2000 03-20-2007 02:55 AM

You have to edit the CSS. Go to Style Manager -> All Style Options. Scroll down to page background, and make sure that matches the rest of your site. I try to keep a lot of my backgrounds transparent, so that there's never a conflict with something underneath. If you have the time, I would recommend going through the CSS and doing this where you can. It will keep your style simpler and much easier to manage.

Chadi 03-20-2007 03:02 AM

Please see attached. Its not my css at all.

The color (blue) in comments background area is:

#B7BCE2

The only time this is mentioned in the Main CSS is body background color

I'm 100% sure its something obviously in the mod's template somewhere

If you tell me which template it is, I will copy/paste it even though I reverted all

thincom2000 03-20-2007 04:45 AM

In template SHOWNEWS, find and remove:
HTML Code:

<!-- end content table -->
$spacer_close
<!-- / end content table -->

Find and remove:
HTML Code:

<!-- start content table -->
$spacer_open
<!-- / start content table -->

In templates shownews_similararticles and news_comments, find and remove:
HTML Code:

$spacer_open
Find and remove:
HTML Code:

$spacer_close
Some of those had been added to make all the tables the same size on your forum. Hopefully removing the ones that were there already will bypass the earlier problem.

thincom2000 03-24-2007 12:13 AM

New version released. Added the BB-Codes you wanted. Also got rid of the unnecessary $spacer_open/$spacer_close (mentioned in last post). Enjoy it.

dizzy100 03-24-2007 03:52 AM

Upgraded to the latest version but now get

Fatal error: Call to a member function parse() on a non-object in C:\xampplite\htdocs\news.php on line 893

When entering any forum that is news enabled.

I also found a bug in the old release (not sure if its addressed in this one) where f you soft delete an article it remains visiable on the front page of the news with the read more tag. However clicking the readmore tag brings up the "this thread in invalid" error box.

UPdate: De-installed the product and re-installed, resetting my settings. The news functioned as it should then until i added a Limit News Preview to How Many Words? option and then the same error as above came up.

thincom2000 03-24-2007 04:14 AM

Okay, I tried to fix the soft-delete bug you found. Not sure if it worked, since I only ever hard-delete, so let me know. The fatal error should also be gone. It was a result of copy & paste from a plugin to hard-coding it, and some class references had changed in the process.

dizzy100 03-24-2007 07:54 AM

Thanks that got it for the php error.

However soft delete still persists to display after the fix.

thincom2000 03-24-2007 04:18 PM

I am not getting an "invalid thread id" error after soft-delete. I can still access the thread normally.

thincom2000 03-25-2007 04:13 AM

I'm pretty sure I fixed the soft-delete this time. Had to modify two queries and add a conditional. Added some overdue and new phrases.


All times are GMT. The time now is 02:42 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.01286 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_html_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