vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

Tigga 10-16-2002 10:00 PM

mYvBindex v3.1
 
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:
  • Login box for members to log in to your site on the homepage.
  • Post News in a forum you specify and have it appear on your homepage.
  • Show the latest threads started in your forum on your homepage.
  • Show a poll and allow users to vote and see the results on your homepage.
  • Shows users avatar, new private messages, and buddy list for members who are logged in.
  • Shows a list of active users.
  • Shows statistics such as total members, threads, posts, top poster, newest member, and today's birthday's.
  • Shows a mini calendar with links to days with scheduled events, and a box with today's scheduled events.
  • Search box to allow users to quickly search your forums.
  • Current weather and updates on your homepage.
  • Set and change all options via the Admin CP.
  • Ability to easily switch on/off the polls, users avatar, buddy list, online users, search box, calendar, weather, custom templates, news icons, news comments, smilies, set the maximum number of news posts, and many other options via the Admin CP.
  • Everything is completely template based so it is very easy to customize.
  • Install file that will make all database queries and templates for you in seconds.
  • Uninstalls in seconds.
  • Tested and stable with vBulletin v2.6+
Screen Shots:
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:
  • Poll - 2 queries
  • User's Avatar - 1 query
  • Private Messages - 1 query
  • Buddy List - 1 query
  • Online Users - 3 queries
  • Mini Calendar - 1 query
  • Weather - 2 queries
  • Poll and/or News Smilies - 1 query
  • Stats - 5 queries
*Mini Hacks:*
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.

Tigga 10-17-2002 08:22 AM

Guest Homepage

Tigga 10-17-2002 08:23 AM

Admin Homepage

Tigga 10-17-2002 08:23 AM

Regular User's homepage

Tigga 10-17-2002 08:24 AM

Admin CP

NTLDR 10-17-2002 08:45 AM

Looks like a rip of of vBhome from the code, I hope you asked TECK's and everyone elses permission to distribute the code?

Origional name too :rolleyes:

Preech 10-17-2002 08:46 AM

I hate to say this. But to me. This is the best looking one I've seen yet. In my view...look's a little better than the one from php portals. I'll install sometime tomorrow.

Tigga 10-17-2002 08:53 AM

Quote:

Originally posted by NTLDR
Looks like a rip of of vBhome from the code, I hope you asked TECK's and everyone elses permission to distribute the code?

Origional name too :rolleyes:

As shown in the credits, the hack uses modified versions of Teck's "Latest XX Threads on Fourmshome" and Kurafire's Simple Newsportal" hack for the news section (with permission from both). It looks similar to vBhome because I was inspired from Teck's hack to make my own. vBhome is the best hack I've seen so far and has a lot of nice features, but it's not quite what I wanted... So I made my own. I thought others might like it and it's features, so I tweaked it up a bit and got it ready to release.
And I agree, the name mYvBindex isn't very original, but I'm not that creative and that's about the best I could think of. If anyone can think of a better name I'll gladly change it. :)

NTLDR 10-17-2002 08:58 AM

Also, you need to remove that huge chunk of origional vB code, you will find that your not allowed to include it in that file.

Tigga 10-17-2002 08:59 AM

Ok, I wasn't really sure if that would be "excessive" vBcode or not. I'll upadate the files and re-upload in a minute.

Marv 10-17-2002 09:12 AM

oups....am i gone blind ? where is the dl-link ?

NexDog 10-17-2002 09:44 AM

I guess it's been removed while the file is updated minus the vB code. ;)

Tigga 10-17-2002 09:46 AM

Yup. The files are updated now. :)

TECK 10-17-2002 10:25 AM

Quote:

Originally posted by Preech
I hate to say this. But to me. This is the best looking one I've seen yet. In my view...look's a little better than the one from php portals. I'll install sometime tomorrow.
when you will learn that beauty is not important while coding maybe you will understand something about PHP.
to people like you what is important is that it has nice boxes and colors, not that it's ruining your server.
did you know that 50% of the hacks here are just crap? from over 1500hacks released here, i could say that about 50-70 are written without any mistakes on it. not to count the security issues some of them pose, bad queries, terrible code skills, etc.

plurplanet, did you noticed how i did it me? i posted in my vbHome the links to the people who made the hacks to be added as addons to my original code. many people ripped my code and changed few variables, while "renaming it".
i got used to this, and moderators dont really care about it, so is ok.
throwing a bunch of hacks toghether, made by others and rename that to another name is not something to be proud of.

now, plur, if you want only (i dont force you), i want you to make me a favor. please remove the latest threads code and add instead instructions how to install the hack onto your portal. i looked at your code and it's identical to my hack, with the exception of some variable names.

i recommend you to take a look at my vbHome (lite) aproach:
- i write my original code by myself (as i do in all my hacks)
- i place links for add-ons so people can install those addons onto their portal.

thanks for understanding.
all the best,
TECK.

Tigga 10-17-2002 10:48 AM

Teck - I will replace the code if you really want me to. I PM'd you about this last week asking permission though so I wouldn't have to worry about something like this. If you would prefer that it wasn't in there then I will simply replace it with the Latest Threads part in KuraFire's Simple News Portal hack. I would just point people to your hack and let them make the modifications themselves, but I think most people would be annoyed by this. That's the main reason I included the Mini Calendar and Weather Mk hacks with the file too, so that people wouldn't have to spend too much time adding on everything.
As for your comment in your thread about the number of queries the weather install script does - Your right, the installation does make a lot of queries to your database, as it would if you were installing the original. That is why I made it as a seperate script and made notes to skip the steps to install it if you weren't planning on using it.

TECK 10-17-2002 10:57 AM

is up to you. as i said before, i dont force you.
do it only if you find it ethical and fair.

about the queries, i didnt refer to your script.
i was simply pointing an issue to Preech that many people here neglect the code for the look, wich is totally wrong.

if i would be an admin here i would install a review system, so people can read the problems the hack generates in general and the coder to learn from his mistakes.

thanks.

Kiraly 10-17-2002 12:13 PM

there are a problems?

FleaBag 10-17-2002 02:31 PM

Looks good, but I just finished getting vBindex 2.1 to work, so I won't be switching anytime soon.

Goldknight 10-17-2002 02:54 PM

PlurPlanet

This hack have everything but miss one featrure, (poll) however excellent work :)

Kiraly 10-18-2002 12:34 PM

infact! Poll
can you make this change?

MalaK_3araby 10-18-2002 01:26 PM

Hiya PlurPlanet

good job indeed and many thanks for sharing with us ..

i think i will wait for the Poll ...

thanks

irn-bru 10-18-2002 04:40 PM

best looking vb index made by members to date in
my words. nice work :)

Brad 10-18-2002 05:23 PM

Its easy to add polls to this. I would post the code but i dont wanna make anyone mad :)

Tigga 10-18-2002 06:18 PM

Glad to see everyone is liking this so far. :)
I'll see if I can get a poll included in the next version. As anime said, it wouldn't be that hard if someone wanted to add in the poll from another hack. ;)

LightBringer 10-18-2002 07:32 PM

Hmm, vbindex, vbhome, now mYvBindex...

when will the madness stop?

xxxsaint 10-18-2002 08:28 PM

hopefully it won't ;)

Kiraly 10-18-2002 09:14 PM

Quote:

Originally posted by LightBringer
Hmm, vbindex, vbhome, now mYvBindex...

when will the madness stop?

yesss , next is yourpersonalvbulletindex! :D

TheSaint-AeD 10-19-2002 01:33 PM

Quote:

Originally posted by Kiraly

yesss , next is yourpersonalvbulletindex! :D

And after That mypersonalvbulletinindex :)

nghiasi 10-19-2002 07:51 PM

heheeheh well all I can say is nice hacks! :D
It is so difficult to choose which one teh vbindex or the
my ones....
:P

LightBringer 10-20-2002 01:26 AM

Quote:

Originally posted by nghiasi
heheeheh well all I can say is nice hacks! :D
It is so difficult to choose which one teh vbindex or the
my ones....
:P

Functionality beats visual any day in my book. :)

It's kind of like buying a used car, only there's no money transferred here.

You walk up to a beauty of a car and can't believe how shiny and new it looks on the outside, until you pop your head in under the hood or peek at the interior.

I'd rather have a pos jalopee that looks like it came out of a bad bladerunner parody, but it runs like a kitten. ;)

Vivi Ornitier 10-20-2002 11:54 AM

Hmm, the borders are a bit too thick. I'll change that when I use this, ;).

Graphics 10-20-2002 12:15 PM

Great work, I won't use this myself. But a nice addition all the same. ;)

Delmon 10-21-2002 07:00 PM

i am getting this error

Warning: ChDir: No such file or directory (errno 2) in /home/delmon/public_html/forums/myvbindex.php on line 21

Warning: Cannot add header information - headers already sent by (output started at /home/delmon/public_html/forums/myvbindex.php:21) in /home/delmon/public_html/forums/admin/functions.php on line 1573

Tigga 10-21-2002 09:53 PM

Hi Delmon. That error means you've got the path to your forums wrong in your myvbindex.php file. It should be set to "/home/delmon/public_html/forums". Also, your myvbindex file should be in your root directory instead of your forums directory, unless there's some particular reason you prefer to have it in your forums directory. If you do want to leave it in your forums directory you can simply delete that line and that should fix the problem too. ;)

I'm working on the next version of mYvBindex now too. The next version will include an option for polls plus a few other things, and the coding will be much cleaner. :)

TECK 10-22-2002 03:09 AM

Quote:

Originally posted by LightBringer
Hmm, vbindex, vbhome, now mYvBindex...
when will the madness stop?

you're so wrong. vbHome is the one and only original portal, coded entirely by me. the rest are all copycats, "improved" (actually deproved, since the no. of queries is doubled) with borrowed hacks from other people work.

if you look at the code everyone conviniently decided to use parts of my code, buddy.
not to talk that some of you are "amased" by nice html code but neglect the most important thing: the code.

Erwin 10-22-2002 03:24 AM

FWIW, vBHome is almost entirely original. vBIndex "borrowed" a lot from vBPortal. mYvBIndex "borrows" from all the predecessors. :) From what I can see, vBHome has the most elegant code, with the least queries. That doesn't mean it's wrong, as long as credit is given where it's due.

NTLDR 10-22-2002 07:08 PM

Quote:

Originally posted by Erwin
vBIndex "borrowed" a lot from vBPortal.
That is true but from v2.1 I have re-written a majority of the PHP code for it and all credit has been given where its due. However vBindex will be repaced by a full portal written by scratch by me eventally anyway.

LightBringer 10-22-2002 07:43 PM

Quote:

Originally posted by TECK
you're so wrong. vbHome is the one and only original portal, coded entirely by me. the rest are all copycats, "improved" (actually deproved, since the no. of queries is doubled) with borrowed hacks from other people work.

if you look at the code everyone conviniently decided to use parts of my code, buddy.
not to talk that some of you are "amased" by nice html code but neglect the most important thing: the code.

First of all "TECK" or should I call you nakkid, I never made any claim as to the nature or origin of any of these portals/front page hacks so I'm not sure where I am "wrong".

Second of all, I'm not your buddy TECK/nakkid. Hell I don't even know you and after this post, I don't think I want to either.

I don't care which one is the original, I don't care where the code was borrowed copied, and frankly, I could care less where even the most remote spark of creativity came from. The point is, instead of taking this attitude that your product is better, your code is better, all hail i'm the creator, bow before my l33tness, you should understand that while some of us enjoy the variety of hacks, we still reserve the right to pick and choose which hacks we want to install.

Your hack vbhome lite was
Quote:

Closed by request of nakkid.
on 5-28-02. 3 months later (08-27-02), when you decided to reopen it with the help of your friend James Tingle who wrote the commercial version, vbindex was already alive by 08-04-02 and I was all over it as an alternative to both vbportal and vbhome.

Maybe instead of spreading yourselves (plural for ALL hackers) thin, a joint effort on projects like this would yield some amazing results, since they are in fact meant for US, the community.

Just my $0.02, take it for what it's worth.

TECK 10-22-2002 09:18 PM

Quote:

Originally posted by LightBringer
1. Second of all, I'm not your buddy TECK/nakkid. Hell I don't even know you and after this post, I don't think I want to either.

2. I don't care which one is the original, I don't care where the code was borrowed copied, and frankly, I could care less where even the most remote spark of creativity came from. The point is, instead of taking this attitude that your product is better, your code is better, all hail i'm the creator, bow before my l33tness, you should understand that while some of us enjoy the variety of hacks, we still reserve the right to pick and choose which hacks we want to install.

3. Your hack vbhome lite was on 5-28-02. 3 months later (08-27-02), when you decided to reopen it [high]with the help of your friend James Tingle[/high] who wrote the commercial version, vbindex was already alive by 08-04-02 and I was all over it as an alternative to both vbportal and vbhome.

4. Maybe instead of spreading yourselves (plural for ALL hackers) thin, a joint effort on projects like this would yield some amazing results, since they are in fact meant for US, the community.

Just my $0.02, take it for what it's worth.
1. i dont need to know also, i have enough friends.

2. that remark show how ignorant you are, related to php. yes it is important the code, how well written it is. that's what makes the difference between vBulletin and other bulletin boards out there who ripped their code, for example.

3. James Tingle never helped me with the code. in fact, i was helping him with certain aspects related to the commercial script. the script was closed due to ignorance of some people, not worth mentioning even their name, then reopen at a few vb.org friends request.

4. there is nothing to join in it. i'm not the type of person who take someone else's work(hacks) and stick them inside my hack. all my code is written by me and it will stay like that.

Delmon 10-22-2002 09:28 PM

thanks
it is working fine with me


All times are GMT. The time now is 06:34 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.02563 seconds
  • Memory Usage 1,883KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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