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 |
#1352
|
||||
|
||||
Find your "head_newpm" template and find (In 2 places):
private.php Replace with: $bburl/private.php That was left out of the readme file for earlier versions, so that's probably why it's not working. If you make that change though it should fix the problem. |
#1353
|
|||
|
|||
Tigga,
For some reason, my calendar is being displayed properly again. |
#1354
|
||||
|
||||
Quote:
Also when I use MySql front, its shows me : Connection established with host "mysite.com" on port 0 ? Server: 3.23.54 ? Client: 3.23.52 ? Protocol-Version: 10 ? Uptime: 1766626 ? Threads: 8 ? Questions: 2217168 ? Slow queries: 6 ? Opens: 8337 ? Flush tables: 1 ? Open tables: 64 Queries per second avg: 1.255 This seems way to high, and the site is a bit slow, could the extra templates be causing this as well? Thanks |
#1355
|
|||
|
|||
Hey Tigga-
Thanks for a great hack and for supporting it as well as you have. My question relates to the install directions in the readme (which in itself is very well put together btw). It states to install the myvbindex.php file into the root directory. Many of my users choose to logout and when they go to login via www.mysite.com they get the 404 error since the member.php it's looking for is not in the current directory. I tried some of the things you suggested in other posts (putting /forum in front of member.php and editing bburl) relating to this issue but I still get the 404 error. Any suggestions to get this to work or should I just move it into the forum directory? Thanks... |
#1356
|
||||
|
||||
HarleyD - Well there are a couple of ways you could go about deleting the duplicate templates. If you haven't edited any of the index templates, you could simply delete them all by running this query in phpMyAdmin:
DELETE FROM template WHERE title LIKE 'index%'; Then you could use the install script and select the option to Only Install the Templates, and that will reinstall all the original ones again. That would be the quickest and easiest way to remove them. If you have made some modifications to them that you don't want to lose, then you could log in through phpMyAdmin, browse your template table, and then change the order they are sorted in by clicking the "templateid" link twice. This should show you all your templates, orderded by the time they were created (newest first). You could delete each duplicate template one at a time there, or if you look to find where the first duplicate template is, you could check the templateid of that one and run a query like this: DELETE FROM template WHERE templateid>='XXXX' AND title LIKE 'index%'; (Replace XXXX there with the templateid of the first duplicate). And lastly, you could put your board in debug mode by adding $debug='1'; at the bottom of your admin/config.php file. After you do that, when you go to edit your templates you will see a new "global" template set. The global set is all of your default templates, and there will be an option next to each to remove it. Oh, and the queries you're showing shouldn't be from the myvbindex file... Even with all the options turned on, it only performes 29 queries at max. Huron - It should already direct them to the location of your member.php file... The best thing I can suggest would be to edit your "index_logincode" template and look for this code: <form action="$bburl/member.php" method="post"> Change $bburl there to /forum (assuming your forum's directory is called forum). It should work just fine with $bburl there instead since that's a global variable, but I do seem to remember one other person having a problem with the $bburl variable working for them. If for some reason that doesn't work though let me know. |
#1357
|
|||
|
|||
Hi Tigga,
I hope I am not going to be pain in the butt, but I was wondering how easy this would be to set up, using code from mYvBindex poll section. In essence, I would like to use poll on other non-vB pages, but be able to specify 'threadid', so each non-vB page has different (prespecified) poll. Scenario (example): You want to place information on your site about five music venues in your city. Each venue occupies one whole page to itself. So venue 1 has venue1.php page, venue 2 has venue2.php etc. You want to allow visitors to your pages to vote (rate) any venue and possibly leave and read comments from previous visitors. Question: You set up a 'venue' sub-forum in vB, with five threads within, called 'venue 1', 'venue 2' etc. You set up poll in each thread for visitors to vote (rate) particular venue. But then, you want to allow users to vote directly from venue's non-vB page (e.g. 'venue1.php...) like in mYvBindex page poll, so each non-vB page poll is linked to corresponding thread in the forum. This could be hack in its own right, and for some reason I believe that only small adjustments are needed in order to make it work, as mYvBindex already has a working example, although it only displays last thread (poll) in specified 'Poll' forum. Any thoughts on this? |
#1358
|
||||
|
||||
Thanks sooo much!!!!!!!!!
What I just learned is priceless, Its people like you that pass there knowlege down so people like me can do the same. the site is alot faster, after removing the duplicate templates, I'm still showing 64 queries and need to figure out why, but I know its not related to your hack. Have a nice day! I know I am, I just love it when I learn something new, its like a new toy to play with, I know I'll break it a few times, put it back together, and learn something in the process. |
#1359
|
||||
|
||||
ivanmcp - That shouldn't be too hard to do. I'll see if I can put something together for you and release it when I get a chance.
Harley D - No problem at all. As for the queries, if you have that many on your myvbindex page, they're most likely coming from your forum/global.php file or your admin/functions.php file, assuming you haven't modified the myvbindex.php file. |
#1360
|
|||
|
|||
Quote:
Thanks in advance - bobII |
#1361
|
||||
|
||||
You would have to put that code in your usercp.php & forumdisplay.php (or global.php if you're planning on using the template in more places).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|