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 02-14-2007 11:30 PM

Quote:

Originally Posted by thincom2000 (Post 1182830)
That's a template edit. Just modify the class for the tag surrounding $post[musername].

For making comments not increase post counts, you can accomplish this with a vBulletin stock feature.

Open your news forum in AdminCP -> Forums & Moderators -> Forum Manager. Under "Enable / Disable Features," there is an option "Count Posts Made in this Forum Towards User Post Counts." Set this to no.

If on the other hand, you just don't want comments in the news to be returned as post search results or something, that is beyond the scope of this mod, since it was designed as an alternative to journal hacks that didn't count comments as posts.


Ok, but I only wanted my posts to count, but not the comments. Is this possible?

Can you please clarify which template? I tried both news_threadbit and news_postbit

Code:

Posted by <b><span  id="postmenu_$post[postid]" class="alt2"><if condition="$show['profile']"><a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
I changed alt1 to alt2, nothing changed

thincom2000 02-15-2007 12:14 AM

Odd. What do you have set for your Usergroup markup?

And in response to that email notification, a big fat question mark. News.php is almost exactly the same as forumdisplay.php (except you can't sort the news, it's always chronological -- this was done to save some queries), with modifications basically only around the threadbit_display hook. If you get another one of those, let me know.

Chadi 02-15-2007 12:21 AM

My admin group (myself) is red colored only, thats the only markup but the thing I'm trying to get rid of is not the font color in the news view, but the background itself which it is not doing between alt1 and alt2 in both templates I mentioned

thincom2000 02-15-2007 04:29 PM

Quote:

Originally Posted by chadi (Post 1182840)
Ok, but I only wanted my posts to count, but not the comments. Is this possible?

I don't believe it's possible to give the thread starter an increase in post count and not those who reply. That's just the way vBulletin currently works. You could do this manually by adding another plugin, but it would add 1 query to newthread.php when you click submit. If you don't mind that, I'll write it up for you.

Quote:

Originally Posted by chadi (Post 1182878)
My admin group (myself) is red colored only, thats the only markup but the thing I'm trying to get rid of is not the font color in the news view, but the background itself which it is not doing between alt1 and alt2 in both templates I mentioned.

What are the background colors for your thead and normal classes?

Code:

<td colspan="2" class="thead">
                        <div class="normal">
                                <if condition="!$show['announcement']">
                                        Posted by <b><span  id="postmenu_$post[postid]" class="alt1">

P.S. If you are having CSS problems with one template, then you most likely should edit both news_threadbit and news_postbit since they should visually look the same (though functionally they are different), and thus you would be having problems with both.

Chadi 02-15-2007 05:46 PM

main css shows this:

alt1
background = #E4E6F5
font = #4D528C

alt2
background = #F5F5FF
font = #4D528C

Eagle Creek 02-16-2007 01:52 AM

And uuhm.. there's no
Code:

<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
in postbit legacy. Only in postbit.

thincom2000 02-16-2007 10:22 PM

In postbit_legacy it's:
Code:

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
It's the first line in both cases anyway and means exactly the same thing.

Chadi 02-24-2007 04:11 PM

I have this mod installed for RSS Feeds:
https://vborg.vbsupport.ru/showthread.php?t=118004

The strange problem is, trying to add a "news" thread in my CES mod is redirecting to the above hack:
https://vborg.vbsupport.ru/showthread.php?t=137365

So, clicking the actual forum link "Forum News Blog" shown here http://www.talkjesus.com/press-stand/ redirects to the RSS hack, here http://www.talkjesus.com/news.php?f=72

I'm not sure if this is a conflict with vbseo, but any help is appreciated

thincom2000 02-25-2007 04:27 PM

The first thing that comes to mind is that both hacks use a file called news.php.

Have you renamed either file? Or did you overwrite this hack's news.php with the RSS news.php?

Chadi 02-25-2007 05:53 PM

Yes, both use news.php in root folder. Can you please explain how I can do a workaround on yours?

My suggestion is that programmers of these hacks should use their hack name, abbreviated at least in the filenames such as :

newsrss.php
or
newsces.php

This would avoid once in a blue moon conflicts ;)


All times are GMT. The time now is 02:00 PM.

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.01296 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (3)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