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)

deepak7 05-08-2007 01:38 PM

Is there any statistic about % of people that uses javascript plugin?
I had a javascript menu on my site and some people complained they cannot see the menu (and they did not understand why).

My real question is what if I install this and the users can't run js?
Any error? (Display or anything else).

Regards

magnus 05-08-2007 01:53 PM

Quote:

Originally Posted by deepak7 (Post 1243654)
Is there any statistic about % of people that uses javascript plugin?
I had a javascript menu on my site and some people complained they cannot see the menu (and they did not understand why).

My real question is what if I install this and the users can't run js?
Any error? (Display or anything else).

Regards

If they can't run JavaScript, nothing will happen when they click the [+] icon. No popups, no alerts. Just.. nothing.

mshadows 05-08-2007 08:48 PM

Omg, one of the best hacks I've seen yet to date. Well done on this, I am definitely using it.

*Marks as installed*

dragonlove 05-09-2007 01:24 AM

Excellent hack, thank you!

dragonlove 05-09-2007 02:33 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1236385)
ps. any chance for a vbadvanced cmps module? :)

Mean that it doesn't work with vBAdvanced portal , on the portal we can't use this function, how can we do this?????

egyptsons 05-09-2007 09:18 AM

Thanks for the Hack but I want to ask
Is this Hack will causes a high load on server if the forums big?

dbembibre 05-09-2007 09:49 AM

I have a Big board with more than 1000 constant users and no load issues because this mod not add extra queries

magnus 05-09-2007 10:25 AM

Quote:

Originally Posted by egyptsons (Post 1244245)
Thanks for the Hack but I want to ask
Is this Hack will causes a high load on server if the forums big?

No, as pointed out by dbembibre above, there are no extra queries. The same query is run whether a user clicks on the thread and views the whole thing, or if they click on the expand icon.

GrendelKhan{TSU 05-11-2007 09:12 AM

ok.. I bit confused:
I installed 1.2.0 and had to do manual edits as the automatic ones didn't work.

now I want to upgrade, so I can get the new features and the "auto" template edits but I'm not sure what I have to do/undo first and then upload/do for the upgrade.

just upgrading won't work right?

magnus 05-11-2007 10:06 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1245473)
ok.. I bit confused:
I installed 1.2.0 and had to do manual edits as the automatic ones didn't work.

now I want to upgrade, so I can get the new features and the "auto" template edits but I'm not sure what I have to do/undo first and then upload/do for the upgrade.

just upgrading won't work right?

Remove any manual template edits you've done, then just import the new version over the old one. Automatic template editing is enabled by default.

Saudi Zoom 05-11-2007 11:34 AM

Installed and it's work great, But there is a small error
When i set the "Display First/Last Post" to (Last Thread) and go to forum/search.php?do=getdaily , And clicking onCollaps button it goes to the first thread!

Great job, Thank you

magnus 05-11-2007 01:14 PM

Quote:

Originally Posted by Saudi Zoom (Post 1245521)
Installed and it's work great, But there is a small error
When i set the "Display First/Last Post" to (Last Thread) and go to forum/search.php?do=getdaily , And clicking onCollaps button it goes to the first thread!

Great job, Thank you

This has been discussed. It's by design, not a bug. The framework for displaying the last post isn't readily available within the available search hooks (without semi-extensive modifications). I'm working on a non-cludgy way to implement it.

Search results, regardless of settings, will always be first post. This is normal.

Mastar 05-11-2007 05:21 PM

Sorry to say that this is not compatible with Vb3.6.6.... It gives a fatal error, until I disable it.

Gryphon 05-11-2007 05:28 PM

It is working fine for me on 3.6.6.

It would help the author to know the error.

magnus 05-11-2007 06:11 PM

Quote:

Originally Posted by Mastar (Post 1245723)
Sorry to say that this is not compatible with Vb3.6.6.... It gives a fatal error, until I disable it.

I haven't upgrade to 3.6.6. I can't address the problem if I don't know the error.

Mastar 05-11-2007 06:20 PM

Quote:

Originally Posted by magnus (Post 1245758)
I haven't upgrade to 3.6.6. I can't address the problem if I don't know the error.

Code:

Fatal error: Call to undefined function: fetch_coventry() in /home/mysite/public_html/forums/usercp.php(499) : eval()'d code on line 16

perfphysio 05-11-2007 07:55 PM

This hack is awesome. Works fine in 3.6.6

tehQspm 05-11-2007 08:05 PM

Quote:

Originally Posted by Mastar (Post 1245765)
Code:

Fatal error: Call to undefined function: fetch_coventry() in /home/mysite/public_html/forums/usercp.php(499) : eval()'d code on line 16

I just noticed that too this morning. So far it only seems to come up whenever someone tries to get to the UserCP. It doesn't appear to break on anything else.

Have disabled it for now.

magnus 05-12-2007 04:59 PM

There's a fix for the above error in previous posts of this thread. I'll incorporate it in a new release as soon as I can, but since it's Mother's Day weekend it will have to wait until I get back in town. :)

RemiAlone 05-12-2007 11:29 PM

Installed it on 3.6.6. and it works fine.

Don't forget to upload the buttons to your custom style. :P

Sushubh 05-15-2007 11:36 PM

i am using this on a forum with vbseo installed. whenever i try to open the first post... i get the 404 page!

forum: http://broadbandforum.in

magnus 05-15-2007 11:46 PM

Quote:

Originally Posted by Sushubh (Post 1248392)
i am using this on a forum with vbseo installed. whenever i try to open the first post... i get the 404 page!

forum: http://broadbandforum.in

You haven't uploaded the vbpost_ajax.php file to your forum's root directory.

Sushubh 05-15-2007 11:53 PM

damn. stupid me. thanks mate!

cupra 05-17-2007 09:31 PM

great work, installd!

RvG2 05-19-2007 02:30 AM

installed. worked super fine!

BadgerDog 05-21-2007 01:18 PM

Installed on v3.6.7PL1...

Edit: Had to uninstall after users complained that there were graphics pic display issues when they view posts using this mod. I checked and could duplicate it. Basically, when one clicks the "+" sign and if the post has pics displayed side by side like this:

PIC PIC
PIC PIC

The post displayed with this mod didplays them like this:

PIC
PIC
PIC
PIC

If you display the same post by just clicking it normally, then they display properly as they always have.

Unfortunately, had to un-install because of this. Nice mod though...

Thanks....

Regards,
Badger

magnus 05-21-2007 02:57 PM

Quote:

Originally Posted by BadgerDog (Post 1252049)
Installed on v3.6.7PL1...

Edit: Had to uninstall after users complained that there were graphics pic display issues when they view posts using this mod. I checked and could duplicate it. Basically, when one clicks the "+" sign and if the post has pics displayed side by side like this:

PIC PIC
PIC PIC

The post displayed with this mod didplays them like this:

PIC
PIC
PIC
PIC

If you display the same post by just clicking it normally, then they display properly as they always have.

Unfortunately, had to un-install because of this. Nice mod though...

Thanks....

Regards,
Badger


Sounds like you're not using default templates. Appears to me you need a nowrap="nowrap" option somewhere.

BadgerDog 05-21-2007 04:26 PM

Quote:

Originally Posted by magnus (Post 1252114)
Sounds like you're not using default templates. Appears to me you need a nowrap="nowrap" option somewhere.


"threadbit" "search_results" and "forumdisplay" have never been touched... they are the default v3.6.7PL1

Where would I need nowrap="nowrap", given that?

Thanks....

Appreciate the feedback... :)

Regards,
Badger

BozzaJos 05-21-2007 07:00 PM

Ow my god.. I installed this hack but when I went to my forum (called forum.php, I've got vbadvanced installed) I got this error message at the top of my forum (above the banner):

Warning: exec() has been disabled for security reasons in /forum.php(536) : eval()'d code on line 51

When I click on a section it's gone, guess it only shows it @ forum.php. Big problem is, when I uninstalled it, it still shows the error message! How the hell do I get rid of it?

I hope someone can help me! Thanks in advance...

magnus 05-22-2007 12:45 AM

Quote:

Originally Posted by BozzaJos (Post 1252261)
Ow my god.. I installed this hack but when I went to my forum (called forum.php, I've got vbadvanced installed) I got this error message at the top of my forum (above the banner):

Warning: exec() has been disabled for security reasons in /forum.php(536) : eval()'d code on line 51

When I click on a section it's gone, guess it only shows it @ forum.php. Big problem is, when I uninstalled it, it still shows the error message! How the hell do I get rid of it?

I hope someone can help me! Thanks in advance...

Ok, first things first:
  • If you've uninstalled the hack and still receive the errors, it's safe to assume this hack isn't the culprit.
  • This hack does not utilize the exec() function.
  • For the life of me, I can't fathom anyway that this hack would hook into vBadvanced. It's very static on where it hooks into.
My money is on another hack causing this problem or a vBadvanced configuration error. I personally do not use vBadvanced, so my knowledge on such is limited to non-existent.

magnus 05-22-2007 12:46 AM

Quote:

Originally Posted by BadgerDog (Post 1252170)
"threadbit" "search_results" and "forumdisplay" have never been touched... they are the default v3.6.7PL1

Where would I need nowrap="nowrap", given that?

Thanks....

Appreciate the feedback... :)

Regards,
Badger

I'll be upgrading to 3.6.7 later this week. I'll attempt to duplicate the problem and provide a fix.

StrifeX 05-22-2007 03:51 AM

Great idea, very innovative and original!

BozzaJos 05-22-2007 08:33 AM

Quote:

Originally Posted by magnus (Post 1252443)
Ok, first things first:
  • If you've uninstalled the hack and still receive the errors, it's safe to assume this hack isn't the culprit.
  • This hack does not utilize the exec() function.
  • For the life of me, I can't fathom anyway that this hack would hook into vBadvanced. It's very static on where it hooks into.
My money is on another hack causing this problem or a vBadvanced configuration error. I personally do not use vBadvanced, so my knowledge on such is limited to non-existent.

Thanks for the quick response mate. I just know for sure that installed this hack caused the error message. One minute before I installed it I was browsing my site without any error messages. Next minute I decided to install this hack and one second later I got the error message. Sounds like too much of a coincidense to me.

My PHP skills are really limited. Do you perhaps know what this error message is and how to get rid of it?

BadgerDog 05-22-2007 09:50 AM

Quote:

Originally Posted by magnus (Post 1252445)
I'll be upgrading to 3.6.7 later this week. I'll attempt to duplicate the problem and provide a fix.

Thank you Sir.... :)

Appreciate that ...:up:

If I can help testing at all, please let me know...

Regards,
Badger

magnus 05-22-2007 02:26 PM

Quote:

Originally Posted by BozzaJos (Post 1252577)
Thanks for the quick response mate. I just know for sure that installed this hack caused the error message. One minute before I installed it I was browsing my site without any error messages. Next minute I decided to install this hack and one second later I got the error message. Sounds like too much of a coincidense to me.

My PHP skills are really limited. Do you perhaps know what this error message is and how to get rid of it?

Not really, there's not much I can tell you other than find the code trying to call an exec() function.

This modifications requires no code changes. If you uninstall it and delete the files, the hack is gone, period. If you are still receiving errors, the problem lies elsewhere -- it cannot be this modification.

Apparently, it lies within a vBadvanced modification or vBadvanced itself. I'd start there.

BozzaJos 05-22-2007 03:27 PM

I'm positive it happened while installed this hack. Perhaps it's coz I've got vbadvanced installed, modified my forum files so they stay within the vbadvanced columns and coz I've renamed index.php to forum.php. I don't know what it is but I do know that it's been 3 weeks since it was the last time I changed something to my forum and now that I did it's given this error. If I check my forum @ 15:00 and everything is correct and then I installed your mod @ 15:01 and suddenly I get the error, I just don't see any other explanation than it's your mod who did it.

Btw, it's not that bad. I found out that it's only showing the message to admins but it's still a weird error lol. Unfortunately, I know nothing about php or this error message so I don't have a clue how to fix it.

magnus 05-22-2007 09:31 PM

Quote:

Originally Posted by BozzaJos (Post 1252730)
If I check my forum @ 15:00 and everything is correct and then I installed your mod @ 15:01 and suddenly I get the error, I just don't see any other explanation than it's your mod who did it.

There could be a dozen other explanations.

Quote:

Warning: exec() has been disabled for security reasons in /forum.php(536) : eval()'d code on line 51
Line 536 of index.php (forum.php) is:
PHP Code:

($hook vBulletinHook::fetch_hook('forumhome_complete')) ? eval($hook) : false

The plugin causing your error is using the forumhome_complete hook. My hack does not use this hook.

Check in Plugins & Products > Plugin Manager. Sort by Hook Location. Look for any plugins hooked into forumhome_complete -- one of those is the problem. Make note of each product name, then using the Product Manager, disable each of the noted hacks one at a time; checking to see if the error disappears. Once it does, you now know which hack is the culprit.

Let us know.

Barakat 05-22-2007 09:34 PM

i saw that at the german vb but i could not find it there ,,,,

thanks a lot for releasing it here .

magnus 05-22-2007 09:41 PM

Quote:

Originally Posted by Barakat (Post 1252943)
i saw that at the german vb but i could not find it there ,,,,

thanks a lot for releasing it here .

Wait, where did you see this released? What German VB? I never authorized any translations or external releases. Could you let me know what site, please?

Barakat 05-23-2007 10:50 AM

no its not an external release but they are useing your hack on thier site ...
its so nice
http://www.vbhacks-germany.org/forumdisplay.php?f=109


All times are GMT. The time now is 08:10 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.02026 seconds
  • Memory Usage 1,846KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (19)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