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 :(

Corriewf 08-03-2005 09:40 PM

Hmmm for once Geek, I never had a problem here. Past or current version that is. :)

m0nde 08-03-2005 10:17 PM

Quote:

Originally Posted by The Geek
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 :(

It's there!

Code:

        if ($gramps_bits){
                        eval('$gramps_bits= "' . fetch_template('gramps_holder') . '";');
            $post['pagetext_html']="";
        }
        return $gramps_bits;

And I saw the window do a refresh, but after leaving 2 notes in a thread on different posts in the same thread I saw that my first note had replaced the body of the starter post!

- Sid :(

sbrad 09-02-2005 08:47 AM

Installed fo' sho'!

But I have a problem. It just don't freakin work. I'm scratching my head like crazy. I've gone through the two-line troubleshooter (moved showthread.php and made changes to my postbit legacy). I've set permissions. The freaking thing just don't show up on any posts. Much appreciation for any ideas. This is the coolest script I've seen for VB. Evah!

o0Hubba0o 09-05-2005 02:40 PM

Quote:

Originally Posted by sbrad
Installed fo' sho'!

But I have a problem. It just don't freakin work. I'm scratching my head like crazy. I've gone through the two-line troubleshooter (moved showthread.php and made changes to my postbit legacy). I've set permissions. The freaking thing just don't show up on any posts. Much appreciation for any ideas. This is the coolest script I've seen for VB. Evah!

I was just going to recommend this to a rather large gaming forum I mod at, but it seems there might still be a couple glitches? I'll keep an eye on this one to see if it's fixed, this would be a very beneficial hack.

The Geek 09-05-2005 04:15 PM

Ill see if I can crack this back open tonight. Its working on my test and live site - but been a while sine I stuck it on.

mystic10 02-20-2008 09:56 PM

request...i was in another forum and i saw something similar but this was like a moderators note for the poster...pic below will better explain maybe if something like this can happen it would be much appreciated..maybe for 3.6.x or higher...i have 3.6.8pl2

https://vborg.vbsupport.ru/external/2008/02/13.jpg


All times are GMT. The time now is 04:17 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.01182 seconds
  • Memory Usage 1,764KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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