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)
-   -   Forum Display Enhancements - Collapsable First Post using AJAX (or Last Post!) (https://vborg.vbsupport.ru/showthread.php?t=145187)

magnus 04-18-2007 06:45 PM

Also, I see 10 installs. Has anyone gotten this working? I need to know if this is a global problem or something confined to these 2 reports (so far).

Lionel 04-18-2007 06:48 PM

still the same with new file

magnus 04-18-2007 06:48 PM

4x4 Mecca, Ok. Delete the file.

Y'know, this could get lengthy. Do you have an AIM screename? :P

Lionel 04-18-2007 06:49 PM

i got msn

bitdefuser 04-18-2007 06:50 PM

Quote:

Originally Posted by bitdefuser (Post 1230627)
Hm, can you please add an option that allows that?

:p Can you?

Lionel 04-18-2007 06:52 PM

die(print_r($post)); the debugging did not do anything. So the error must be before

magnus 04-18-2007 06:54 PM

Lionel, you need to access it directly. http://yoursite/vbpost_ajax.php?postid=[some post id]

Lionel 04-18-2007 06:55 PM

blank page

magnus 04-18-2007 06:57 PM

Apparently, you and 4x4 Mecca have different problems because I got output from him.

4x4 Mecca 04-18-2007 06:59 PM

You got output with the initial file, once I kept updating it, it no longer gave me output

Lionel 04-18-2007 06:59 PM

here is mine

and here

Lionel 04-18-2007 07:00 PM

i deleted the file with the debugging and was using the one before

Lionel 04-18-2007 07:01 PM

I got output with the debugging LOADED LOADED

magnus 04-18-2007 07:05 PM

Are either of you using any plugin or template caches?

Lionel 04-18-2007 07:06 PM

not me. No cache plugin

Lionel 04-18-2007 07:07 PM

i am on mysql 5.0.2 and php 5.16

WhaLberg 04-18-2007 07:08 PM

Nice work, rated 'Excellent'. :)

Lionel 04-18-2007 07:10 PM

If some people got it to work, all that's left for me to think is my version of mysql

magnus 04-18-2007 07:13 PM

If vBulletin is working, it's not your MySQL version. This uses a normal vBulletin MySQL query.

Lionel 04-18-2007 07:17 PM

past that line

if ($vbulletin->GPC['ajax'])

it stops echoing whatever i put as test

magnus 04-18-2007 07:21 PM

Yea, that's what I'm running into w/ 4x4. We're working on it.

bitdefuser 04-18-2007 07:32 PM

Quote:

Originally Posted by bitdefuser (Post 1230627)
Hm, can you please add an option that allows that?

Sorry but, can you please add an option that allows that?

EDIT: Suggestion: Also, the on the AJAX thread, put an option at the top "View full thread"

magnus 04-18-2007 07:32 PM

We've found a resolution. Standby for an update.

magnus 04-18-2007 07:42 PM

Quote:

Originally Posted by bitdefuser (Post 1230707)
Sorry but, can you please add an option that allows that?

EDIT: Suggestion: Also, the on the AJAX thread, put an option at the top "View full thread"

I'll add it to the list. Thanks.

magnus 04-18-2007 07:43 PM

Ok, hack updated. Download and install as normal, if you're upgrading choose to overwrite.

Lionel 04-18-2007 07:50 PM

thanks... Is it supposed to display entire post?
I am still getting javascript error on getdaily and getnewpost

magnus 04-18-2007 08:03 PM

Quote:

Originally Posted by Lionel (Post 1230735)
thanks... Is it supposed to display entire post?
I am still getting javascript error on getdaily and getnewpost

It's supposed to display the entire FIRST post, yes.

I'm aware of the errors, and I'll be fixing them in a bit. It should just be a matter of including the javascript on those pages. Right now, it's only included on FORUMDISPLAY.

Lionel 04-18-2007 08:06 PM

I did put the javascript in the searchresults. That takes care of javascript but does not display the post, even though i manually added the other code. So I did an if condition==forumdisplay so image displays only in forum display

rjmjr69 04-18-2007 08:11 PM

I get this error at the top of any page and the buttons do not work they appear but do nothing
script type="text/javascript" src="clientscript/jquery.js">

I got it forgot a <

Works just dandy now.

3.6.5

Using the PHP thats in the main folder not the forum folder the other one wouldnt work

WOW I love this!!!!! MOTM for sure

Mr Chad 04-18-2007 08:12 PM

ohh man this is great!

magnus 04-18-2007 08:13 PM

Quote:

Originally Posted by rjmjr69 (Post 1230756)
I get this error at the top of any page and the buttons do not work they appear but do nothing
script type="text/javascript" src="clientscript/jquery.js">

What's the error? Did you do the template edits manually, or automatically?

If you did them automatically, then follow my instructions on the first page to do them manually.

If you did them manually, you forgot a "<"

rjmjr69 04-18-2007 08:18 PM

Quote:

Originally Posted by magnus (Post 1230759)
What's the error? Did you do the template edits manually, or automatically?

If you did them automatically, then follow my instructions on the first page to do them manually.

If you did them manually, you forgot a "<"


Your right I forgot a <

Thank you so much this rocks........ Clicked MOTM


One little request. When A user is viewing a thread and Looking at Whos online shows an unknown location


This also does not work well with Thread Cosmetics hack On display of the thread it displays the Code for whatever decoration is applied..., I.E thread title is bold <strong> etc

Hornstar 04-18-2007 08:31 PM

wow. this is going to be a very popular mod ^^ nice work.

magnus 04-18-2007 08:34 PM

Update:
v1.1.0
  • Fixed JavaScript errors when using search.
  • Resolved (known) cross browser compatibility issues.

[hr]-[/hr]
Thanks to 4x4 Mecca for help in working out a few kinks. There are additional template edits, so if you performed manual edits you'll want to re-check this post.

Otherwise, just import and overwrite as usual.

rjmjr69 04-18-2007 08:38 PM

So for us that did manual edits Add the new search_post edit PLUS re import and overwrite?

magnus 04-18-2007 08:38 PM

@ rjmjr69:
Glad you got it working. Although, I don't see how this would affect Who's Online -- as you haven't actually left FORUMHOME. I'll look into it, though.

I'll also check into the cosmetics hack.

@ hornstar1337:
Thanks! :)

magnus 04-18-2007 08:39 PM

Quote:

Originally Posted by rjmjr69 (Post 1230779)
So for us that did manual edits Add the new search_post edit PLUS re import and overwrite?

You can get away with not overwriting the php/js files, but you'll need to re-import and perform the template edits. (Be sure to disable the automatic template edits after re-importing)

rjmjr69 04-18-2007 08:47 PM

Quote:

Originally Posted by magnus (Post 1230782)
You can get away with not overwriting the php/js files, but you'll need to re-import and perform the template edits. (Be sure to disable the automatic template edits after re-importing)


That worked just fine.

Here is a snap shot of what I am talking about for WOL. The username appears Its just I was using FF and my username blinks but it does appear

https://vborg.vbsupport.ru/


And here is what happens with the thread decorations

https://vborg.vbsupport.ru/external/2007/04/11.jpg

Stoebi 04-18-2007 08:55 PM

Hi,

great hack magnus. Thank you very much :)
I've only problems with vb codes boxes (attached).


Regards, Stoebi

magnus 04-18-2007 09:02 PM

Quote:

Originally Posted by rjmjr69 (Post 1230785)
That worked just fine.

Here is a snap shot of what I am talking about for WOL. The username appears Its just I was using FF and my username blinks but it does appear

http://i101.photobucket.com/albums/m75/rjmjr69/WOL.jpg

This should be an easy fix. I'll add it to the list.

Quote:

Originally Posted by rjmjr69
And here is what happens with the thread decorations

https://vborg.vbsupport.ru/external/2007/04/11.jpg

Hrm. That looks like a template editing typo in threadbit, IMHO. This hack doesn't modify thread titles (or prefixes) -- if you recall, all that was done was the adding of an <img /> tag.

If you've checked and can't find any typos, copy and paste your threadbit template into a .txt file so I can take a look at it.


All times are GMT. The time now is 12:54 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.01405 seconds
  • Memory Usage 1,796KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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