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)

350Chevy 12-17-2002 07:00 AM

Great work.. I have a suggestion.. :)

In the Poll section how about adding the option to display how many posts are in the topic.

For example it now says: "?Discuss This Poll"

How about changing that to "?Discuss This Poll (xx Replies)"

or adding "?This Poll Has XX Replies" under it. Just a thought.

I know it's kinda nit-pickie but heck you've got everything else practically in there already! :D

Tigga 12-17-2002 02:27 PM

Thanks Goldknight. :)

I just added the number of replies for the poll Chevy. Thanks for the idea.
It looks like I may be able to release the new version this evening. New installations are working perfectly, so now I just have to finish up the upgrade script and upgrade my own site. :)
And I'm still open for more suggestions if anyone has any other ideas before I release this.

Dean C 12-17-2002 02:35 PM

This hack is pretty awesome :)

- miSt

mv540 12-18-2002 04:07 PM

this hack is great indeed, but im having trouble at the moment, moved everything to a new server and now i get this error..do i have to reinstall or something,???

some help would be greatly appreciated...

thanks


Database error in vBulletin 2.2.9:

Invalid SQL: SELECT thread.threadid,thread.title,thread.replycount,thr ead.postusername,thread.postuserid,thread.dateline as dateline,post.pagetext,thread.iconid,post.postid FROM thread LEFT JOIN post USING (threadid) LEFT JOIN user ON (user.userid=thread.postuserid) WHERE thread.forumid= AND isnews='Y' GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 10
mysql error: You have an error in your SQL syntax near 'AND isnews='Y' GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 10' at line 1

mysql error number: 1064

Date: Wednesday 18th of December 2002 12:59:14 PM
Script: http://xxxxxxxx.com/forums/index.php
Referer:

Tigga 12-18-2002 04:11 PM

It looks like your News Forum ID isn't set in the Admin CP. If it is already set, try saving the options so that will kind of kick it in. If that doesn't work let me know.

And thanks Mist. :D

mv540 12-18-2002 04:20 PM

Quote:

Originally posted by PlurPlanet
It looks like your News Forum ID isn't set in the Admin CP. If it is already set, try saving the options so that will kind of kick it in. If that doesn't work let me know.

And thanks Mist. :D

thx for the quick reply, i checked my admin cp and it looks like my news is there. Im not quite clear on what to look for from here

Tigga 12-18-2002 04:26 PM

Even if the News Forum ID is set, you may still have to save the options to make sure it's "kicked in". Did you try saving the options?

mv540 12-18-2002 04:35 PM

im not sure im understanding you sorry, im fairly new at this where do i look to see if this info you said is saved?

Tigga 12-18-2002 04:41 PM

It's cool... I'll give you better instructions. :)
Just go in your Admin CP and click on vBulletin Options in the top left frame. Then Scroll all the way to the bottom where you mYvBindex options are. If you haven't already, check to see that the News Forum ID there is set. Then just click on "Save Changes" at the bottom of that page. Sometimes, even if everything appears to be set there, it won't kick in until you hit the Save button.

mv540 12-18-2002 04:44 PM

ill try that..brb...lol

mv540 12-18-2002 04:46 PM

i checked, there is nothing in news id :confused:

mv540 12-18-2002 04:58 PM

what should the news ID be? or where can this ID be retrieved?

Tigga 12-18-2002 05:03 PM

That would be your problem then. ;)
To figure out what the id is, just go to your forum and click on your news forum. Then look at the URL and you will see something like:
http://yoursite.com/forum/forumdispl...?s=&forumid=XX
The "XX" at the end of that will be a number and that will be the forum id.

mv540 12-18-2002 05:09 PM

OMG thank you so much...its back again!!!!!!!!

THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
THANK YOU THANK YOU THANK YOU THANK YOU
:banana:

Tigga 12-18-2002 05:10 PM

LOL! No problem at all. :)

Tigga 12-19-2002 08:17 AM

There we go, the new version's up. :)
Upgrading should take less than a couple of minutes and the upgrade instructions can be found at the bottom of the readme.html file. Enjoy! :)

EvilLS1 12-19-2002 09:15 AM

Nice job Plur! :)

alkatraz 12-19-2002 01:31 PM

Fantastic job!

I see how you've added "Events happening today" below the calendar, is there any way to add a Section called "Events happening soon" that lists all of the event happening durring the next X amount of days?

Tigga 12-19-2002 09:43 PM

Yup, that can be done fairly easily. Just open up myvbindex.php and look for:
PHP Code:

if ($showtodaysevents AND $event[eventdate]==vbdate("Y-m-d",time())) { 

Replace that with:
PHP Code:

if ($showtodaysevents AND $event[eventdate]>=vbdate("Y-m-d",time()) AND $event[eventdate]<=vbdate("Y-m-d",time()+604800)) { 

That will display all events happening in the next week (the number 604800 there is the time limit in seconds). Though the only problem with that is once you get near the end of the month, it will only show the events happening within the next week and before the end of the month because of the way the query above it is set up. If you don't mind adding an extra query to the page I can play with it a bit and try to make it where that wouldn't happen.

DarkDraco07 12-22-2002 07:10 PM

would be nice to add the shoutbox on the homepage

Tigga 12-22-2002 07:39 PM

I just looked at the shoutbox hack and it should be fairly easy to add it to your myvbindex instead of your forums index. You would just follow the instructions there, and when you get to the part about adding some code in your forums/index file before
PHP Code:

eval("dooutput(\"".gettemplate('forumhome')."\");"); 

You would add it before this part at the end of your myvbindex file instead:
PHP Code:

$getbgrow=getrowcolor();
eval(
"dooutput(\"".gettemplate('index')."\");"); 

Then you would add the $the_shoutbox variable in your index template wherever you would like it to appear instead of your forumhome template.

I've never tried adding that feature and never even downloaded that hack until today, but those should be the only changes you would need to make. If for some reason that doesn't work let me know and I'll test it out.

Tigga 12-22-2002 07:41 PM

By the way... Did you get the problem fixed with your news not showing up? I noticed you edited your original post so I assumed you fixed that, but if not let me know.

DarkDraco07 12-22-2002 07:47 PM

i thought i did but it stil doesnt work :(

Tigga 12-22-2002 08:00 PM

I just looked at your site and it looks like it would be because you made those news posts before you installed the script. Any posts you make afterwards should appear fine, but since those were made before you installed the script it has no way to know that those are news posts. If you're familiar with phpMyAdmin you could use that to manually set those posts so they will show up. You would just log into phpMyAdmin and go to your 'post' table. You would then find those posts and click the 'edit' link. At the bottom of that page you will see a column called 'isnews' and it should have a 'N' in the text box. You would simply change that to a 'Y' for each news post. If you're not familiar with phpMyAdmin I can see if I can make a quick re-indexing script for you. I don't mind doing that for you, but it may be a couple of hours before I can make it.

DarkDraco07 12-22-2002 08:39 PM

would be nice to knwo what to do. in phpmyadmin what do i change to Y?

DarkDraco07 12-22-2002 08:42 PM

btw, about that shoutbox. when i add the shoutbox it is REALLY big and messes up the whole page. is there a way to change the size yo like the calendar or to fit right under the news?

PS - would be REALLY nice if u could also tell me how to make the glow hack work on the myvbindex. the glow that allows you to glow a bunch of colors forma drop down menu

DarkDraco07 12-22-2002 09:15 PM

i fixed my news part.

i have a 2 requests.
in the admin cp make an option for it to show sigs or not on the myvb page.

and also see if u can integrate the welcome panel

Tigga 12-22-2002 10:31 PM

It looks like the shoutbox was designed more to go under one of the tables on the forum home, so to change it to fit in one of your columns you would just have to edit those templates.

Can you give me a link to the glow hack you're talking about so I can see exactly what it is?

The signatures are controlled per post just as when posting a normal message. You can remove them by editing the post and disabling them that way. If you want to control them via the admin cp I can give you some code to replace and a query to run that would add the option.

I think myvbindex has pretty much every feature the welcome panel has. You should be able to edit the templates index_welcometext and index_logincode to look more like the welcome panel, and then you would just move the $welcometext variable in your index template to right above the newsbits part or where ever you would like it.

DarkDraco07 12-22-2002 11:14 PM

-i got rid of the sigs form the news by erasing the $signature or whatever from newbit.

-so i have to change the shoutbox templates?

-ill try that welcome panel right now

-glow dropdown is here
https://vborg.vbsupport.ru/showthrea...=glow+dropdown

reason i want it to glow is because i would like to change the text like User CP and online buddies to glow

Tigga 12-22-2002 11:23 PM

All that glow hack does is add the option to make your text glow when posting. It would have nothing to do making your text glow when editing templates and such. To make that glow you would just have to use the HTML that's used under the vBcode section in your admin cp (something like <font style="filter:glow(color=red, strength=4);height=1px">your text here</font>)

DarkDraco07 12-22-2002 11:34 PM

can i see u on AIM about some things?

Tigga 12-22-2002 11:46 PM

Sorry, but to be honest I'm pretty busy right now working on some stuff for my business that has to be done tonight. If you're still having problems you can post them here and I will try to help, but I don't have the time to chat with anyone on AIM right now.

DarkDraco07 12-23-2002 12:17 AM

glow works but my main problem is the welcome thingy

Tony DiMera 12-23-2002 02:29 AM

Will I have to adjust my cookies with v 3.0?

Tigga 12-23-2002 02:39 AM

Tony - Nope, the settings should be exactly the same and won't affect the cookies. Upgrading should be extremely easy, won't affect any of your current settings, and should take less than a minute unless you have heavilly modified your templates. Even then there is a list of each template that was changed in the readme file. :)

Tony DiMera 12-23-2002 02:57 AM

Ok thanks a lot.

DarkDraco07 12-23-2002 04:32 PM

hey plur, for the shoutbox, what part of the template do i have to edit?

SouledOut 12-23-2002 06:49 PM

Damn this looks hard, espically for a PHP n00b! Good thing I have a friend who I hope is more then willing to help me install it and work it with our layout...

Tigga 12-24-2002 05:07 AM

DarkDraco - I've never installed the hack so I don't know off hand what it would be. You really should be able to figure that out yourself by looking at the templates.

SouledOut - It really isn't hard at all to install. As long as you follow the instructions in the readme file you shouldn't have any problems. :)

Tony DiMera 12-24-2002 07:43 PM

I am having a problem, I put in the correct forum ID for the news which is 17 but posts are not showing up on the vbindex. I also made sure it was the correct ID. The polls works fine, just not the news. The Max number of posts is set to 10 and there is an "isnews" under the posts table.


All times are GMT. The time now is 01:07 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.02470 seconds
  • Memory Usage 1,825KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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