Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
CES Lv vB Event Forums Addon - Query Blaster Details »»
CES Lv vB Event Forums Addon - Query Blaster
Version: 1.1.3, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 04-03-2007 Last Update: 07-27-2007 Installs: 17
DB Changes Uses Plugins Template Edits
Code Changes Is in Beta Stage  
No support by the author.

CES Lv vB Event Forums - Query Blaster
Version: 1.1.3

Requires:
*** NEWS ***
7/28/2007 - v1.1.3 released
7/27/2007 - v1.1.2 released
7/24/2007 - v1.1.0, v1.1.1 released
4/2/2007 - v1.0.0 released

Known Issues:
- none

What It Does:
This modifies the Lv vB Event Forums addon by replacing a number of plugins and effectively removing LOTS of extra queries (you probably noticed). Also adds the ability to add attachments to events.

Products to Install: 1
Plugins Included: 20
Files to Upload: 0
Files to Edit: 1
New Templates: 5
Template Edits: 0

Mod Features:
- adds an option to the Forum Manager
- event attachments
- much fewer queries in forumdisplay and especially showthread

You will need to edit all your Event Forums in the Forum Manager and set "Is this an event forum?" to yes. This just makes some of the plugin code simpler and I think removed 1 query elsewhere. You still need to specify forum-calendar relationships in settings.

*** Changelog ***
As of Version 1.1.3
  • fixed upcoming events on forumdisplay
  • fixed edit options for first post
  • fixed thread titles in forumdisplay
  • fixed thread not created on event creation
  • removed unused templates

As of Version 1.1.2
  • fixed empty first post (event details)

As of Version 1.1.1
  • fixed missing plugin since 1.0.0 that fetches event info

As of Version 1.1.0
  • event forums use own showthread template
  • separate postbit for event details
  • map forums to calendars in the forum manager
  • fixed redirect bug on attachment edit
  • fixed bug where comments bar was disconnected

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-24-2007, 03:24 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay the new version uses separate templates for everything so that template edits for Lv vB Event Forums are unnecessary in SHOWTHREAD. In addition, it fixes a few bugs like a broken Comments table, inability to utilize the attachments feature, etc. I'm also positive that this version works since I'm currently running it.
Reply With Quote
  #13  
Old 07-25-2007, 12:31 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
XML Error: mismatched tag at Line 2390
I get that when uploading the new XML file.

Edit: There was a missing </phrasetype> a few lines above it.

Now I get
Quote:
Warning: Invalid argument supplied for foreach() in /showthread.php(997) : eval()'d code on line 15
when going to an event

Oh geez. So I realized you changed the Yes/No to "Event forum?" question to what ID to map it too, but that didn't solve the problem. The Event info still doesn't show up, and it's now even more screwed up than before.

Not only does the event not show, the comments don't show, and now the event date has changed positions and isn't where I had it before.

------------------------------------------------------------

You know what, it's fine. Don't bother trying to fix this. It's honestly not worth the effort anymore. I've decided that I'm just getting rid of the event forum entirely and keeping the Event Attendance.

It's not worth the amount of frustration I'm going through trying to figure out why on earth your hack permanently damaged my installs of vB Event forums and Event Attendance + the integration.

Just PLEASE tell me what it overwrote in the templates, plugins, or DB that could be hiding the replies to the event.

This update just caused considerably more problems than the previous version, and I'd recommend you take the file down until things can get sorted out.
Reply With Quote
  #14  
Old 07-25-2007, 01:50 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know how to answer your "overwrite" question. This mod doesn't overwrite anything. It disables the existing plugins on install, and re-enables them on uninstall. As for the templates, the mod now uses its own templates (so I apologize that your time changed positions). And the only DB change was adding the calendar map to the forum table.

As for the rest of your issues, I'm at a loss. Except for the missing </phrasetype>, everything in the new product file is exactly as it is on my installation.

EDIT: Fixed the product file. I checked the showthread_preprocess plugin again and it fetches data for the event based on an array containing field names. As far as I can tell, this array has been accidentally left out of the product file since 1.0.0. While I understand you plan to drop Event Forums, I certainly hope this fixes the issue, since surely you are not the only user experiencing empty event stuff. Unfortunately this still doesn't explain why the Comments were missing, so hopefully another able member could help me work that out.
Reply With Quote
  #15  
Old 07-25-2007, 04:28 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, tried 1.1.1, not any better. Well, I guess it's *somewhat* better, it doesn't give me showthread.php error. Event info and comments still don't show, and I'm still confused as to how your plugin takes the event date say, Fri, 5-4-07, and relocates it to where the body of the event info should be.

Are you doing this testing on the latest versions of Farcaster's mods? He had updated the hacks since you released this plugin, and before the two updates today.

OK, I really give up for real this time. I can't handle the frustration anymore.
Reply With Quote
  #16  
Old 07-25-2007, 05:20 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The plugin uses a template called postbit_event. I will look into Farcaster's update, although at first glance it just looks like he fixed some phrases.

If you can link me to one of your messed up event forums, I would like to at least look at it. For example the actual HTML output is what I'm interested in.
Reply With Quote
  #17  
Old 07-25-2007, 08:14 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I uninstalled everything.

Then I installed vB Event forums > Event Attendance > then the Integration Add-On.

The replies still don't show. Your product had to have done some kind of irreversible damage to the database. Upon uninstalling everything a 2nd time, I went into phpMyAdmin to make CERTAIN that all the RSVP and Event Forums tables were dropped.

As for the HTML, it went something like this

Code:
<!--  Post Area -->
<div id="post_2353" ...></div>
<div id="last_shown" ...></div>
<!-- /Post Area -->
I made that up off the top of my head, but it was only showing the bar with the thread controls (View First Unread, Thread Tools, yadda yadda).. Then the rest was just a bunch of blank DIVs, that still had the Post IDs.

Here's the real code:

Code:
<div id="posts"><!-- post #4879 -->

	
	<div id="edit4879" style="padding:0px 0px 4px 0px">
	<!-- this is not the last post shown on the page -->	





	</div>
	

<!-- / post #4879 --><!-- post #4880 -->

	
	<div id="edit4880" style="padding:0px 0px 4px 0px">
		





	</div>
	

<!-- / post #4880 --><div id="lastpost"></div></div>
This was after the 3rd CLEAN INSTALL, can you please just tell me what settings your product changed? I looked at the install code in the XML but it didn't give me much to go on.
---------------------------------------------------------------

UGHHHHHHHHHHHHHHHHHHHHHHHHH.. It was your Pre-Processes that was doing it.

Great. Just great. I'm 100% positive I made the file edits correctly, too.

Well good. Pre-Processes is uninstalled, and I'm not going to attempt using this hack again.
Reply With Quote
  #18  
Old 07-25-2007, 12:50 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay thanks. It must be a typo or something in the Pre-Processes instructions. Thanks for putting up with this as long as you did.
Reply With Quote
  #19  
Old 07-27-2007, 03:32 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks to vBulletin 3.6.8 being released, I finally ran into the empty postbit problem again when I upgraded. Apparently my fix for this had been a file edit and never made it into the instructions. I have changed this to plugin code and included it in the new product file, so as far as I can tell, there should no longed be the previously reported issue.
Reply With Quote
  #20  
Old 07-27-2007, 04:10 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
Apparently my fix for this had been a file edit and never made it into the instructions. I have changed this to plugin code and included it in the new product file, so as far as I can tell, there should no longed be the previously reported issue.
I'm glad to hear this...

So maybe it was NOT your Pre-processes that was doing it. Hopefully it was just a coincidence.

I'm willing to give this another shot, since you appeared to fix it with the default vB files and had no problem fixing it with a plugin.

Were the only file edits you made the showthread_ and forumdisplay_ preprocesses?

Well, anyway, I'm going to try this again... At least this time going into it, I'll know there's a chance it's going to screw up my Event stuff. The last time when it happened so unexpectedly, I was completely LIVID.

I just realllllyy can't justify using the Event Forums mod when it makes forumdisplay use ****80+ queries****, so lets hope this works this time.
Reply With Quote
  #21  
Old 07-27-2007, 05:07 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes the only necessary file edits are the showthread_ and forumdisplay_preprocess instructions.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:31 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.07352 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete