vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=168303)

balance12 05-27-2008 01:49 PM

Dont understand what is that. its a mod? a DB modification?

Kinneas 05-27-2008 02:42 PM

Quote:

Originally Posted by balance12 (Post 1532951)
Dont understand what is that. its a mod? a DB modification?

vBulletin Options -> General Settings

Paul M 05-27-2008 03:45 PM

Having investigated another forum having problems I came across the same common problem as a number of others Ive looked at.

The unread posts portion of this modification attaches itself to a phrase in the Navbar template that is only found in vb 3.7 - if you have a customised navbar that is based on pre 3.7 code then this will not display the unread posts.

Since this is the cause of a number of reports in this thread Im going to look at modifying it slightly to try and detect if you using pre 3.7 code and adjust itself acordingly.

DominicG 05-27-2008 04:25 PM

I just wanted to say Thank you for all your help :) The mod is awesome and the support I received from you is greatly appreciated :)

lolitka 05-27-2008 08:47 PM

Hi Paul!

I'm using a "Blue Evolution" theme and trying to use your mod, but even installation seems to be ok in whole 100% I don't have any effects. I knew, you wrote:

Quote:

Note: The unread posts portion of this hack only works if you use the database thread marking system, also, this attaches itself to certain phrases in the "welcome" box and will not work if they are not present (or are modified by other code).
But what can I do to make it working and change this:
http://www.iv.pl/image/181585.jpeg

into something you wrote?

Appreciate your future help!
Tom

Paul M 05-27-2008 09:31 PM

Since I dont have a copy of the Blue Evolution style I cannot tell you much. The mod attaches itself to the welcome_x or welcome_x_link_y phrases.

lolitka 05-28-2008 06:21 AM

strange, because I have in my navbar template:
Code:

<if condition="$show['member']">
        <td class="alt2" nowrap="nowrap">
        <div class="smallfont">
                <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
                <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

so what to do next?

Paul M 05-28-2008 06:55 AM

Check that you are using database marking, and all the mod settings are correct - after that you would need to start looking at things like another mod breaking it.

As with any of my mods, if you PM me admin access I will look for you when I have the time.

lolitka 05-28-2008 11:44 AM

Thx :)

Would you mind to write sth more about "database thread marking system"? Is is a vB admin option and where can I find it to turn it on?

It's probably noobish question but I really don't know.

Paul M 05-28-2008 01:06 PM

vBulletin Options > General Settings > Thread/Forum Read Marking Type

balance12 05-28-2008 02:01 PM

Thanks, I change that and worked 100%.... you are grate.. mark as install
ed

lolitka 05-28-2008 02:21 PM

Quote:

Originally Posted by balance12 (Post 1534069)
Thanks, I change that and worked 100%.... you are grate.. mark as install
ed

same as me!
Thx Paul!

tei727 05-29-2008 04:57 AM

Paul,

This will not work when using the Time Greeting (Good Morning,etc..) mod (https://vborg.vbsupport.ru/showthread.php?t=178745).

Paul M 05-29-2008 10:53 AM

Correct, that mod overwrites the welcome_x_link_y phrase.

Quote:

Note: The unread posts portion of this hack only works if you use the database thread marking system, also, this attaches itself to certain phrases in the "welcome" box and will not work if they are not present (or are modified by other code).
JFYI, If you altered the plugin execution order on the two mods you might still be able to get it to work.

tei727 05-29-2008 11:25 AM

Quote:

Originally Posted by Paul M (Post 1534947)
Correct, that mod overwrites the welcome_x_link_y phrase.



JFYI, If you altered the plugin execution order on the two mods you might still be able to get it to work.

you might as well have spoken that in greek...lol

Charlie98902 05-29-2008 12:51 PM

It is truly sad to see no more development on this mod it was and still is a great mod.

Paul M 05-29-2008 04:42 PM

Huh ?

BigDog56 05-29-2008 11:04 PM

Quote:

Originally Posted by Paul M (Post 1534947)
Correct, that mod overwrites the welcome_x_link_y phrase.



JFYI, If you altered the plugin execution order on the two mods you might still be able to get it to work.

How do you do that?

Scooterpig 05-29-2008 11:30 PM

Thanks for the update Paul but since installing this new version I find that it doesn't work when using this hack, yet did so fine before this new release version, sorry..:(

Paul M 05-30-2008 12:21 AM

I take it that by new version you mean the 3.7 version because this could never have worked with that mod installed - the reason being that Boofo appears to completely remove the welcome_x_link_y phrase from the navbar.

Edit: Actually, there is a post on how to modify one of my plugins here ;

https://vborg.vbsupport.ru/showthrea...80#post1461180

Paul M 05-30-2008 12:23 AM

Quote:

Originally Posted by BigDog56 (Post 1535718)
How do you do that?

Edit them in the Plugin Manager.

Scooterpig 05-30-2008 03:03 AM

Thanks Paul that link to fix got it going again along with Boofo's hack, thank you..:)

N-0p3rz 05-30-2008 11:34 PM

Just updated. Working flawlessly.

Love your work. Thanks..

Aimee1969 06-06-2008 12:01 AM

Thank you so much ;)

Paul M 06-11-2008 05:59 PM

This cannot invent reputation.

BigDog56 06-11-2008 06:06 PM

Quote:

Originally Posted by Paul M (Post 1546882)
This cannot invent reputation.

My bad, I figured it out. :o

hostlayer 06-12-2008 04:12 AM

I installed this on 3.7 but it is not showing up at all, any ideas?

Miktar 06-12-2008 07:50 AM

EDIT: NM, just takes a while.

Paul M 06-12-2008 10:14 AM

Quote:

Originally Posted by hostlayer (Post 1547274)
I installed this on 3.7 but it is not showing up at all, any ideas?

Have you read all the notes in the main post.

slyreptile 06-12-2008 09:10 PM

Odd. After removing the old 3.6 version and installing this new version, I'm getting database errors sent to my email account. Apparently some users have having problems viewing the forum and others (like myself) have no issues. Here's the email message:

Database error in vBulletin 3.7.0:
Invalid SQL:
SELECT COUNT(dateline) AS rcount
FROM vb_reputation
WHERE userid = 210
AND dateline >;
MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '' at line
4
Error Number : 1064
Request Date : Thursday, June 12th 2008 @ 09:37:15 AM
Error Date : Thursday, June 12th 2008 @ 09:37:15 AM
Script : http://www.mydomain.com/forum/
Referrer :
IP Address : x.x.x.x
Username : Thiok
Classname : vB_Database
MySQL Version :

I've disabled showing new Reputation comments for now. Don't know if that will work or not. I'm still troubleshooting.

slyreptile 06-12-2008 09:16 PM

After turning on the rep system and having the Display New Reputation Comments set to Yes, I still have members having this issue.

Artes_Marciales 06-12-2008 10:22 PM

Thanks Paul!

it commendable to install this at big forums?
My data base is very heavy this does that she be heavier or it goes away cleaning the table periodically?

Sorry my English...

ArnyVee 06-12-2008 11:42 PM

This is one of the most valuable mods to have installed, IMO.

It really keeps the folks up to speed on what is going on in multiple threads. Thanks Paul! :D

Paul M 06-12-2008 11:53 PM

Quote:

Originally Posted by slyreptile (Post 1547957)
After turning on the rep system and having the Display New Reputation Comments set to Yes, I still have members having this issue.

Uninstall it, and then re-install it. You are missing some values in a column.

JFYI, that column should never be missing data, but this isnt the first case, so I'm going to edit the code slightly to stop the error when that data is missing.

Paul M 06-12-2008 11:57 PM

Quote:

Originally Posted by Artes_Marciales (Post 1548004)
it commendable to install this at big forums?
My data base is very heavy this does that she be heavier or it goes away cleaning the table periodically?

How big do you mean ? This adds a column to the user table, and in index to the post table - thats the only difference it will make to your database.

Artes_Marciales 06-13-2008 05:40 AM

Thanks Paul,
I have around 40.000 members.
Quote:

This adds a column to the user table, and in index to the post table
This column is autoprune or I have to empty it manually like the column of cookies?

Regards!! : )

Paul M 06-13-2008 06:53 AM

I dont really understand your question, but you dont have to do anything.

Artes_Marciales 06-13-2008 07:24 AM

OK, thanks Paul!!

Hugo Holbling 06-20-2008 08:22 PM

Edit: Nevermind - I figured it out.

Ohiosweetheart 06-25-2008 04:45 AM

Paul I really like this, and have it installed on my business site. However, on my other site, TalkOhio, I can't get it to work. I'm thinking that it's because I have Boofo's modification installed, and perhaps it's conflicting?


All times are GMT. The time now is 11:51 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.02034 seconds
  • Memory Usage 1,819KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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