vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek Realtime Amporphic Modnotes Per-post System 1.0 (https://vborg.vbsupport.ru/showthread.php?t=91923)

The Geek 07-28-2005 11:40 AM

hmmm. I have jus checked on my site and indeed it looks like the last GRAMPS posted appears in the text of the message its attached to. Ill look at it first thing when I get back this weekend.

Sorry :(

m0nde 07-29-2005 06:38 AM

Quote:

Originally Posted by The Geek
hmmm. I have jus checked on my site and indeed it looks like the last GRAMPS posted appears in the text of the message its attached to. Ill look at it first thing when I get back this weekend.

Sorry :(

Whew! I thought I'd completely gone off my rocker. I simply went into phpMyAdmin and deleted all of the GRAMPS notes from the gramps table before users started asking questions!

- Sid

Kirk Y 08-03-2005 07:07 PM

Any plans on porting this to 3.5? I would love to to use this on my board! Great hack!

The Geek 08-03-2005 07:48 PM

Updated to version 1.01

This fixes a rather lame and unsavoury bug whereby vb would sometimes cache the last gramps mod note as the post itself.
This can easily lead to the body of the post you are commenting on coming up with the last comment you made! Bah! Who needs it?

Well, this was a sneaky little bug but I finally fixed it.

To upgrade you need to:
Download latest package
Replace your existing includes/gramps_class_core.php with the one located in the new package.
You need to also edit your showthread.php file and replace:
PHP Code:

    if($show['gramps']){
        
$post['gramps_bits']=$gramps->construct_gramps_bit($post['postid']);
    } 

with

PHP Code:

    if($show['gramps']){
        
$post['gramps_bits']=$gramps->construct_gramps_bit($post);
    } 

NOTE: There are 2 instances of this!

Easy peasy. but VERY IMPORTANT!

nJoy

The Geek 08-03-2005 07:50 PM

Quote:

Originally Posted by acidburn0520
Any plans on porting this to 3.5? I would love to to use this on my board! Great hack!

Thanks!

I guess ill eventually port it. It wont be too hard - im just busy porting other stuff for the moment.

m0nde 08-03-2005 07:58 PM

Quote:

Originally Posted by the geek
IMPORTANT UPDATE!!!!

There is a minor bug in Gramps that is very subtle which can result in vb caching your last gramps comment as the post text!

Bwhahahaha! "minor bug"?! :knockedout:

Do you know what my admin and mods were going to do to me over this "minor bug"?! :hurt:

I should come over to Britain and find you!

Anyway, thanks for fixing it! :banana:

- Sid

The Geek 08-03-2005 08:08 PM

er... teehee? ;)

BTW: Just to be really annoying... I just update the package again. This was just to include the stylevars so that the rendering of the mod notes looked nicer. All it requires is to replace your gramps_class_core.php file (as long as you updated to version 1.01 that is! If you are on version 1.0... follow the instructions a few posts back).

nJoy. Tell your mods I love them and am thinking of them :)

m0nde 08-03-2005 08:47 PM

This is VERY weird...

... i came back to this window and the banana had stopped dancing!

wtf was with that?

I thought it was on an infinite loop! If not, it must be fixed!

- Sid

m0nde 08-03-2005 08:56 PM

The notes are still messed up :disappointed:

After doing the upgrade from the post above and replacing the class file twice it STILL replaces the first post with the note.

What should I do?

Should I run the install again or something?

- Sid

The Geek 08-03-2005 09:32 PM

check your gramps_class_core.php file for the following line:

$post['pagetext_html']="";

That resets whatever cache was in the post. its working on my site now :(


All times are GMT. The time now is 07:28 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.01906 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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