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)

tingle 10-22-2002 10:34 PM

Quote:

Originally posted by TECK
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.
Hi,

Teck is right, i did not help on vbhome at all, he helped me by doing some graphics for me, but nothing else

Tingle

LightBringer 10-22-2002 11:03 PM

Quote:

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.
1. Then don't refer to me as "buddy".
2. You know nothing about me or what I know or don't know about PHP Teck, so do not label me as ignorant. I never said it wasn't important you arrogant jacka$$, I said instead of riding your high horse with that egomaniacal chip on your shoulder, to get off of it and realize that there are much bigger things out there than YOUR hack(s).
3. My apologies for assuming you helped him, but I stated my reason for not using your hack so you can drop the "butthurt" act.
4. I never claimed that you were this type of person, the only thing you're doing here is drawing straws.


If you're going to attempt to continue this childish diatribe, then I suggest you and I take this offline. You started this meandering waffle, by misreading a post by someone you know nothing of. When you get your facts aligned, then maybe we can discuss them like adults.

Until then... /ignore

Erwin 10-22-2002 11:58 PM

Wow... calm down guys, it's not worth wasting sweat over a misunderstanding. :) Both of you are respected members of this site liked by many. Lightbringer is right though - take it off the site if you have further issues, and leave this thread for the support of the hack.

Keta 10-23-2002 09:13 AM

hmm i use vb index i kinda like this better but there is no poll feature? i guess i gotta stick with vbindex :(

Tigga 10-23-2002 06:01 PM

I'm releasing a new version tonight that includes a poll, fixes a bug or 2, and adds a few other nice options. Just have a few more things to do to the coding and need to finish up the install file before it'll be done. :)

madhouse 10-24-2002 12:33 AM

I got a nice issue with your myvbindex , after modifing the templates to my liking I was not totally satisfied(spelling) with it.
So I go to the uninstall and there was a query missing index_news_readmore.
So I went in to the uninstall file and added it to it cause it was causing a mysql error, now the problem still exsist and I cannot get rid of it.
I am afraid I might have to totally delete my database just to fix this issue unless someone else has some idea on how to fix this.
With only 185 members some people might not think that its not that many, but there is also over 11,000 post on it so that makes a lil more differnce.
Can someone please help me out here cause I really dont want to redo my board from scratch!

Tigga 10-24-2002 12:42 AM

Madhouse - What problem are you having exactly? The un-install script removes the database edits first, so a missing template shouldn't be a problem. If the problem your having is users can't post new threads, you should make sure you edited your newthread.php and newreply.php files to remove the modifications for mYvBindex. If that doesn't help or that's not the problem you're having please post more info and the exact error you're getting and I will help you to get things running again.

Tigga 10-24-2002 01:00 AM

User (top)

Tigga 10-24-2002 01:01 AM

User (bottom)

Smoothie 10-24-2002 01:25 AM

Looks good. Nice work.

madhouse 10-24-2002 03:00 AM

nm.... i got i fixed after about 4 hours lol

Preech 10-25-2002 12:43 AM

I"m having problems. It won't allow me to view this page period.
http://hiphopairplay.audiooutbreak.com/myvbindex.php

Tigga 10-25-2002 02:31 AM

Preech - What do you have the path set to in your myvbindex.php file? Are you running the forum on the same server as the myvbindex file?

madhouse 10-25-2002 02:58 AM

Plur, i think the weather is not in the template install....cause it didnt install the template for it.

Preech 10-25-2002 02:59 AM

This is how it looks.
chdir('http://hiphopairplay.audiooutbreak.com/airplay');

I hope I don't get in any trouble for doing this.

Tigga 10-25-2002 03:11 AM

Madhouse - The templates for the weather is now installed with the weather_install.php script as it's kinda pointless for someone to install those templates if they're not using the weather. If you upgraded from 1.0 and didn't want to run the weather installer again I can attach just the templates here for you.

Preech - The path is your problem. It should be set to the path to your forums, not the url. If you're not sure what the path is, you can create a file with just this content:

PHP Code:

<?php phpinfo(32); ?>

Save it as info.php and upload it into your forums folder.
Then go to that file in your browser and you will see a list of options that were set by your host. One of them is called:

_SERVER["PATH_TRANSLATED"]

Copy that path, paste it over what you currently have and it should work fine. :)

Preech 10-25-2002 03:31 AM

Thank you very much. That worked grate

Tigga 10-25-2002 03:32 AM

Glad to hear it. Hope you enjoy the hack. :)

madhouse 10-25-2002 02:17 PM

That would be great Plur if u could do that for me...Thanks!

Tigga 10-25-2002 02:40 PM

Here's a template install script for ya Madhouse. :)
Just upload it to your admin directory and run it from your browser. Before you run the script, check to see if your mYvBindex options in your Admin CP has an option to turn the weather on (it should be the 3rd from the last option). If not, run step 3 of this installer (where it asks if you want to log into your Admin CP or add the option to show the weather). If you already have the weather button under your options you can skip that step and just log into your Admin CP.

madhouse 10-25-2002 03:53 PM

Thanks and if i ever get done with modifing the templates I will place my site's link here so u can see it. :)

Tigga 10-26-2002 07:28 PM

I actually already checked it out from the link in your profile. It looks very nice. :)

Units 11-03-2002 05:40 PM

I am getting a parse error:

Parse error: parse error in /home/rap-conc/public_html/index.php on line 24

Tigga 11-03-2002 10:53 PM

What do you have your path set to? From looking at your site, it looks like it should be set to /home/rap-conc/public_html/forums

BlueHawk 11-04-2002 02:30 AM

Hmm i seem to be having a little problem, ive followed all the instructions for installing, but for some reason i get a mySQL error

http://www.4u-servers.net/myvbindex.php

Me wants this to work, looks great.

Tigga 11-04-2002 02:37 AM

I went to the link, but all I see is "This board is closed at the moment. Please call back later."
The MySQL error is probably a simple mistake in editing the files. If you'll post the error message here I'm sure I can help you get it working. :)

Tigga 11-04-2002 02:42 AM

By the way... If anyone has any suggestions for features they'd like, please post them here. I'm working on the next version, but I'm running out of idea's for stuff to add.

BlueHawk 11-04-2002 02:46 AM

eeeep lol what a n00b, didnt realise it was still closed :/

The error is

Database error in vBulletin 2.2.8:

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=http://www.4u-servers.net/forumdisplay.php?s=&forumid=5 AND isnews='Y' GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 10
mysql error:

mysql error number:

Date: Monday 04th of November 2002 04:45:24 AM
Script: http://www.4u-servers.net/myvbindex.php
Referer:


Damn fast response by they way :)

Tigga 11-04-2002 02:53 AM

Hmmm... That looks like you put in the wrong info for the News ID under your mYvBindex options. Judging by the error, it looks like you have http://www.4u-servers.net/forumdispl...?s=&forumid=5, when all you should have in there is the number 5.
If that's not the case, double check that you made the correct modifications to your newthread.php and newreply.php files.
Let me know if that helps. :)

BlueHawk 11-04-2002 03:26 AM

Yep your right, i put the full address instead of just the number + for some reason when i used the search and replace function on my software, it left the code in strange places.

All is working now except for me changing the header area and getting the banner script and stuff on it. Should it not do that anyway? Im getting a bit at the top of Admin area when i look at templates

$only['getinfo'] = 'User Info Display'; $only['index'] = 'mYvBindex';


Thanks for the help, better get some kip now as its nearly 5.30am and i got to be up again at 7am :(

Tigga 11-04-2002 03:42 AM

Looking good. :)
After you get some sleep, you may want to check that you have the following lines of code in the file...

PHP Code:

$recorddate vbdate($dateformat,$maxusers[1]);
$recordtime vbdate($timeformat,$maxusers[1]); 

I noticed that it's not showing the date for your "Most users ever online" part. I looked at my install file and I wasn't very clear about that part. I said to copy all lines between another one and the code above, but I guess I should have said to include those lines as well. ;)
Just put that code above right before this code and it should work fine.

PHP Code:

  $getbgrow=getrowcolor();
  eval(
"\$loggedinusers = \"".gettemplate('index_online')."\";"); 


Goldknight 11-04-2002 03:52 AM

PlurPlanet, I tried your hack and it s great but unfortunately I have two issues.. well maybe three issues..

At first, your hack didnt show who's online even though I turn it on...

Second, it fixed on date (12-31-1969) all of time, but any date like create thread, post, and more work normal..

Third, I wonder is it possible for you to create divide weather_install hack? I kept got time out every time I try weather_install due.. I cannot add the weather feature which I really want.

Thanks, if need the url, I ll more than glad to provide you thur PM, I prefer to have it private.

Edit: Add attachment for quick look..

Tigga 11-04-2002 03:52 AM

Ahh... You're sneaky. Editing your post while I was replying. :p
For the header, you can do one of 2 things...
1) Copy your original vBulletin header template and replace the code in your index_header template with that. You will then have to add $bburl in front of each link so that they will point to the right place.

2) If you want it to use your regular forums header, look in your myvbindex.php file for the following code:
PHP Code:

eval("\$index_header .= \"".gettemplate('index_header')."\";"); 

And replace it with
PHP Code:

eval("\$index_header .= \"".gettemplate('header')."\";"); 

Then you will also have to add $bburl in front of each link in your original header template to ensure the links will point to the right place. This will change it so it looks for your original vB header instead of the index_header template. If you do that, you should also look near the top of the myvbindex.php file for "index_header" in the $templatesused section. Replace that with just "header" to avoid adding an unnecessary query to that page. Then in your index template, look for "$index_header" and replace that with "$header".

Tigga 11-04-2002 03:55 AM

Goldknight - Yes, please PM me with the url to the file so I can have a look and see exactly what you mean. Those are some strange errors I haven't encountered before, but I'll be glad to help you get them straightned out. :)

Actually... Could you email me (brian@plurplanet.com) the contents of your myvbindex.php file? It looks like you may have missed a little code when copying and pasting. If it's what I think it was, I should have been a little clearer in the install instructions, so it's really my fault.

Goldknight 11-04-2002 03:58 AM

Ok, I PM you my url thanks!

I email you the index.php (myvbindex.php) by your recent request

Tigga 11-04-2002 04:13 AM

Goldknight - I emailed you with the correct code for the index file. There was a section where you had to copy original vB code which wasn't done correctly. :)

For the weather... Do you know which step you made it to in the install file? Let me know and I'll see if I can help you get that working as well.

Goldknight 11-04-2002 04:14 AM

Hmm thats where I miss lol.. sorry =\ anyway I got your email and I upload it up then I got error:

Code:

Parse error: parse error, unexpected T_VARIABLE in /home/virtual/site57/fst/var/www/html/index.php on line 278

Tigga 11-04-2002 04:21 AM

Did you perhaps edit something in the file when trying to get the online users part to work before? I'll compair the 2 files and see if I can figure out what's different...

Goldknight 11-04-2002 04:23 AM

? no, I didnt modify anything with (myvb)index.php at all. After I found out that it didnt display online and date so I come and post about it.

Goldknight 11-04-2002 04:30 AM

I got your email and I email you back. Anyway online is working now =D Thanks! but date feature is not.


All times are GMT. The time now is 02:27 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.02394 seconds
  • Memory Usage 1,833KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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