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)
-   -   Miscellaneous Hacks - CES Lv vB Event Forums Addon - Query Blaster (https://vborg.vbsupport.ru/showthread.php?t=143962)

thincom2000 07-24-2007 03:24 PM

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.

TheMilkCarton 07-25-2007 12:31 AM

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.

thincom2000 07-25-2007 01:50 AM

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. :confused:

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.

TheMilkCarton 07-25-2007 04:28 AM

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.

thincom2000 07-25-2007 05:20 AM

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.

TheMilkCarton 07-25-2007 08:14 AM

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.

thincom2000 07-25-2007 12:50 PM

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.

thincom2000 07-27-2007 03:32 PM

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. :rolleyes:

TheMilkCarton 07-27-2007 04:10 PM

Quote:

Originally Posted by thincom2000 (Post 1303171)
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. :rolleyes:

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.

thincom2000 07-27-2007 05:07 PM

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


All times are GMT. The time now is 11:03 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.01071 seconds
  • Memory Usage 1,752KB
  • 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
  • (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