The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
mYvBindex v3.1 Details »» | |||||||||||||||||||||||||
mYvBindex 3.2.2 released! (5/22/03)
mYvBindex 3.2 will allow you to include different options from your vBulletin message board on your website's index page. Everything is completely template based so it is very easy to customize and change everything through your Admin CP. Features:
Guest Homepage Admin Homepage User Homepage Admin CP Queries: A nice feature of mYvBindex is that it performs only 11 queries with all the options turned off, no matter how many news articles or latest threads you choose to display. Some options will cause the script to perform extra queries, but even with all the options turned on it still performs only 29 queries at max. Here is a list of each extra function that will cause extra queries:
Adding More Custom Templates To add more custom templates to your mYvBindex, please see this post. Stylin' Buddy List - by MartynJ This will add your the users avatar and usertitle to the buddy list (Similar to and inspired by velocd's Stylin' Buddy List hack), and adds no extra queries to your homepage. Download (Screen shot included in zip) Shoutbox Integration - by MartynJ This hack integrates the ever popular Shoutbox hack with your mYvBindex. Download (Screen shot included in zip) TWCommish's vB Shoutbox Integration - by Brahm This is a slightly different shout box made by TWCommish. His hack is required and can be found here. After downloading his hack, use Brahm's instructions here to integrate it with mYvBindex. Attachments in News Posts - by Tigga This hack allows attachments posted in news posts to be viewed in the news section on your homepage. Download Allow users to set homepage options - by Tigga This mini-hack will allow your users to set which options they would like displayed on the homepage. They will be able to turn on/off avatars, weather, custom templates, and etc on a per user basis. Download *Note* It may be necessary to open this file in a text editor (other than notepad) to get it to display properly. Multiple News forums from different links - by Tigga This hack allows allows you to have a link to a "different index file" which will pull news posts from a different forum. Instructions can be found here Credits: mYvBindex uses modified versions of the following hacks: Mini Calendar from vbPortal - by wajones vB Weather Mk. 2- by JJR512 Copyright: This hack is NOT to be re-distributed or placed on website for download without permission. All copyright notes in the script itself must remain unchanged. Please don't forget to hit the Install Button Updates from version 3.2.1 After the release of v3.2.1 a couple of small bugs were found. They affected the ability to edit a news post from the link on the homepage, pulling the wrong post from a thread for the news section, and updating your most users ever online if a new record is set. The changes from v3.2 to 3.2.1 were minimal, so those should be the only bugs found. Upgrading once again is very easy. Just download the new files, change the path in the myvbindex.php file, and upload it over your existing one. Updates from version 3.2 v3.2.1 is again just a small maintenance release. The main change in this version is the way the forum permissions are done. Before, the forum permissions would cause the latest threads query to take much longer than it should (mostly on larger forums). Now with the new permissions system in place, the query to pull the latest threads should take less than 0.01 seconds. Other than the permissions section, the only other changes were a few optimizations to the code syntax. Upgrading from v3.2 is simple - Just upload the new myvbindex.php file over your existing one and you're done. Updates from version 3.1 v3.2 is mostly another maintenance release, and will hopefully be the last release for vBulletin 2.X (unless any bugs are found). Here are a list of all the changes. Fixed a bug where setting the "Show Latest Threads Icon?" option to "No" could disable the latest threads section. Fixed a bug where signatures with vBcode were not displayed properly in the news section. Fixed a bug where the icons in the news and latest thread parts weren't displaying the right icon for some users. Added an option to completely disable signatures in news posts. Added an option to select a random poll from any forum for the poll part of the hack. Further optimized parts of the code and slightly changed part of the structure. Now shows "No Buddies Online" in the buddy list if no buddies are online. Changed so it will no longer show a default icon for the news and latest threads unless your options are also set to show a default icon on the forumdisplay page. Now shows the last poster and last post time when you hold your mouse over the title of a thread in the Latest Threads part. The install script has been re-written so you can install, upgrade, uninstall, update your news posts (useful for first time installations where a news forum already exists), or install just the templates (useful after upgrading vBulletin to a new version) all from one file. Significantly reduced the size of the weather_install.php file (from 3.0 MB to 1.25 MB) so it will not take so long to upload to your server. Fixed a couple of small spacing issues in the poll templates. Fixed a problem with JJR512's weather hack not pulling the weather forcast. Added a FAQ section to the readme file to help common problems. Upgrading should take no longer than 2 minutes and instructions can be found at the bottom of the readme file. Updates from version 3.0 v3.1 is mostly a maintenance release to help cut down on first time installation problems. Other than that, the biggest difference you will notice is the template "style" has changed to mesh better with vBulletin (see screenshots above). You do not have to install the new templates as you will have the option to install the new templates or to skip that step in the install file. Other than the templates, here is a list of the other changes: A few more "error checking" features have been added to ensure you won't get a nasty sql error if you leave your News or Poll Forum ID, or any of the other fields blank. The problem some users were experiencing with the temperature for the weather part of the hack should be fixed for good. The "Show Poll" option in the Admin CP is removed as this can now be disabled simply by leaving the "Poll Fourm ID" filed blank. Fixed a small typo and optimized parts of the code a little further. Slightly changed the position of the days and numbers in the calendar part. Fixes a bug where the Today's Birthday part wouldn't point to the correct url. Upgrading should take no longer than 2 minutes and instructions can be found at the bottom of the readme file. Updates from version 2.0 Removed the option from the Admin CP to allow smilies in News posts as this can now be set per post just as you would when making a regular post. Added a stats section with info such as total members, threads, posts, newest member, top poster, and today's birthdays. Added a "Today's Events" section under the calendar that will display any events that are scheduled for the current day, and will only be visible if there are events listed for the current day. Added an option to show the poster's avatar with the news post. You can now have your signature displayed with the news post. This is controlled when posting the message just as you would with a regular post. Added an option to display the news post's rating with the news. Added options to show small icons to allow users to show a printable version of the news post and an option to allow users to email their friends a link to the news post. Added an option to allow/disable HTML in news posts. Added an option to allow/disable the [img] tag in news posts. Shows the number of times a news post has been viewed. Shows the number of new posts since the users last visit. Shows the number of replies to the poll if poll discussions are allowed. Fixed a bug where the search box would take you to the search page rather than displaying the results. Fixed a bug where setting the News Posts Maximum to 0 would disable the news rather than giving it no limit. Optimized the code a little more to increase performance. Help & Support Before asking for support Please read the F.A.Q in the readme.html file! Most common problems are answered there! If you have any problems or questions that are not covered in the F.A.Q. please please post them here. I will be more than happy to help in any way I can if the request for help is made here. Anyone trying to contact me via email, private message, my website, or any other means will be ignored. Show Your Support
|
Comments |
#322
|
||||
|
||||
1. Aha, I see.. I thought you did this from my previous vbHome versions (1.0 or 1.1).
Good to know you didn't make the same mistake like I did. Yea, believe me I struggled with that one for a little while before I finally figured out it was the getavatarurl function that was adding the extra query. 2. Glad I could help. Again, thanks for pointing that out and if you happened to notice any other small mistakes, by all means please point them out. 3. Use $ourtimenow instead. Ahhh, I hadn't really seen that function since it's not used much at all in vB. Thanks for pointing it out, it may be helpful for future versions. 4. So far, from what I see you got ideas from my script on the following areas: - alternate colors on threads function (old vbHome version) Ahhh... Yes, you are correct about this one. I had been using that for so long and it's been so long since you've used it in vBhome that I forgot where it came from. Obviously it's the same function and idea used in vB just changed around a little, so if it bothers you that it's in there I will gladly change it. - threads permissions Actually that was just taken from forumdisplay.php. I believe it was PPN who posted a while ago where to find that. - latest threads As you know that was originally a modified version of your Latest XX Threads hack. You posted a while ago that you would prefer that it was not used, so I re-wrote that part for this version. I left the main variables the same so that people would not have to completely change their templates, but that part of the code was done from scratch. - plural function That idea actually came from a script called openreality. I believe (though I could be wrong) that I was actually using that on my personal site before you started using it in vBhome. The idea is so simple and basic, so of course the coding is going to be very similar. - article Basically you copied the code and edited a little the variables to look different. The news part is all my code (and has been since 2.0) with parts from vBulletin files used (such as the part to pull the avatars). I did however check vBhome to see how you did the part near the top which will allow you set the news variable to 0 for no limit. I was playing with that a few months ago and for some reason could not figure out how to set the news limit where 0 would be no limit. Finally I checked to see how you had done it and felt pretty dumb afterwards since I was making such a simple mistake. (basically I didn't move the LIMIT part from the query to the part above). I didn't think it was a big deal since all I figured out from looking at your code was to move the LIMIT out of the query, which I'm sure I would have realized what a dumb mistake I was making eventually. 5. I removed that remark, but you were to fast for me, since is not my place to judge this but the mods here at vb.org. Sorry. However, my poll and online users code is not the vBulletin one. Feel free to compare it. From reading the rules to posting a hack, I don't believe anything was done wrong. If so I would think an administrator would have said something by now. And I did compare the poll section again. Yes, there are quite a few changes, but the majority of the code is straight from vBulletin. And I do apologize for being a bit rude at first, but you were wrong by saying it was adding so many queries. I couldn't understand why you were trying to say that when I knew exactly the way the script works, so I'm sure you can see why I was a bit irritated. |
#323
|
||||
|
||||
Thankjs PlurPlanet, I'll let you know how it works.
|
#324
|
||||
|
||||
jeffj - I'm not exactly sure what you mean by "hangs". Could you please explain what you mean in a little more detail?
Jarvis - You'll have to let me know how it went when you're finished. That's a very creative way to use the hack and I'd like to see the finished result. Note that I did not test this, but it really is quite simple so you shouldn't have any problems. |
#325
|
||||
|
||||
Itstill does the samething. Iwonder why this is happening
|
#326
|
||||
|
||||
That really is strange... I also tried going to yoursite.com/forums/admin/index.php (expecting to get the login screen) and got a page cannot be displayed error. The same with yoursite.com/forums/index.php.
|
#327
|
||||
|
||||
Try it again, it should work now.
|
#328
|
||||
|
||||
Ok, the other url's work fine now. I just noticed that none of those were working, so thought that might be a problem as well.
I just uploaded the weather_install.php file to my site to double check that it was working properly and had no problems. At this point, there's really not much I can think of... You may want to compare the file sizes of the file on your hard drive and the file on your sever to make sure that the upload went though. Also be sure that the file was uploaded in ASCII and not Binary. Other than that, I can't think of any other reason it wouldn't be working. If none of that works the only other thing I can suggest is to run the queries through phpMyAdmin. Doing it that way is a little more work, but still shouldn't take more than about 10 minutes to complete. |
#329
|
||||
|
||||
on the left side it shows 3.00MB but on the right side it shows 2.96MB after it is uploaded.
|
#330
|
||||
|
||||
That sounds about right (my mistake, I forgot the size will be slightly less when uploaded in ASCII). I'm wondering if perhaps your server is having a problem handling a file that big. It doesn't seem like it should, but you never know with computers. I don't see why this would help, but you could maybe try renaming the file to something simple (like w.php) and try running that. I don't see why that would make a difference at all, but it might be worth a try. If that still doesn't work then I can only suggest to run the queries manually.
|
#331
|
||||
|
||||
Ok thanks a lot
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|