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)
-   -   vBindex (https://vborg.vbsupport.ru/showthread.php?t=37021)

wooolF[RM] 04-06-2002 09:01 PM

I have no errors in IE6. I don't use whole hack but vote poll feature only.

-=dm=- 04-06-2002 09:05 PM

How do I change text/links/rollover color?

its not the right one from the forum:(

thanx for anyhelp
dm

wooolF[RM] 04-06-2002 09:27 PM

it should be... cause it uses { firstaltcolor } etc...
u can try to change { firstaltcolor } to #000000 for example

NTLDR 04-06-2002 09:33 PM

It got all my text and link colours and style correctly. Did you import it into the correct template set?

Looks like its just me with the script error in IE, either IE6 SP1 is rubish or I've messed up some where!

Do the mouse over effects work on the poll for you wooolF[RM]?

-=dm=- 04-06-2002 10:08 PM

Thanx
now whole style looking correct :)
the only one thing I cant fix is the color where the backround color of
Thread l Threadstarter l Replies l Lastpost

-=dm=- 04-06-2002 10:47 PM

damn! my private forums "thread title" are showing up on the main page... how do I remove these, also members cant vote.

thanx in advance for any help

dm

dgessler 04-07-2002 02:57 AM

I love the layout of this hack, but I also want to list the forum categories on the main page with the descriptions and all in place of the news part. Anybody think this could be done..?

wooolF[RM] 04-07-2002 03:49 AM

<a href="https://vborg.vbsupport.ru/showthread.php?postid=237446#post237446" target="_blank">https://vborg.vbsupport.ru/showt...446#post237446</a>

-=dm=- 04-07-2002 11:00 AM

anyone please?
How do I hide private forums to show up on the vbindex?

thanx:)
dm

el3m3nt 04-07-2002 11:10 AM

hi dm,

thanks for ur bugreport.
i'm not sure, if i have the right solution for this problem..

find in index.php
PHP Code:

$DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum AND visible order by lastpost desc limit $numthreads"); 

change the "visible" to "visible=1"

i dont know if the threads which are in private forums.. have visible=0... is that correct? if not.. we have to find another solution..

ps: version 1.2 release in 2 mins ;)

Admin 04-07-2002 11:12 AM

el3m3nt, please do as I asked in my private message.

el3m3nt 04-07-2002 11:55 AM

sorry, firefly.. this is included with the newest version (1.2)

the file isn't available right now.. cause i found some minor bugs.. in a few mins the file will be online.

el3m3nt 04-07-2002 12:11 PM

okey.. the hackdb and the first post are updated :).

For upgrading from version 1.0 to 1.2: just reinstall the whole hack. means, update all templates with the new content and upload also the new index.php and don't forget to read the readme-file. follow the instructions... otherwise the hack wont work.

KarateKid 04-07-2002 12:13 PM

HI All,

I implemented the vblinks Hack into the vbindex. This works quiet perfect as you can see here -> http://www.kampfkunst-board.de/kampf...forum/home.php

when element releases his new version I'll compare my version with his one and will release a little vbportal, with the linkdatabase :)

-=dm=- 04-07-2002 12:29 PM

error in
LINE 154:
//today online hack end

}


// vBindex - start
// -------------------------

looking great :)
hmm my buddy list dont show up...

el3m3nt 04-07-2002 12:38 PM

dm, u didnt read the readme file. there u have to follow the instructions.. otherwise nothing works..

firefly draw attention to me that in the index.php of my hack is too much original code of vBulletin. so u have to copy this code out of the original index.php and insert it in the new index.php

got it? :)

KarateKid 04-07-2002 12:50 PM

now the linkdatabase is shown, I'll put the files together and release it in a couple of minutes.

You can see the database here: Just click on "Linkdatenbank"

http://www.kampfkunst-board.de/kampf...forum/home.php

-=dm=- 04-07-2002 12:56 PM

ups sorry!
wow cool now it working :D

but still I cant put it on my public board, it still showing the private forums.

I cant wait for version 1.3 ;)

TECK 04-07-2002 12:58 PM

el3m3nt.. lol.. you didnt even bother to change at least the install.txt look from my hack? you should do something. put a credit note in your files. you released this hack, because you got "inspired" from my work... them you got creative and copied some code bits from vbPortal? also you forgot to put a credit note for all the hacks you implemented in that index.php, hacks that are available here. did you wrote the "today online users" hack?

how colud you create your own hack and dont even change the variables or the install.txt? example:

Your file:
PHP Code:

// vBindex - start
// -------------------------

// news
// -------------------------
$newsquery=$DB_site->query("SELECT * FROM thread WHERE forumid='$newsforum' ORDER BY dateline DESC LIMIT $newsposts");
while (
$news=$DB_site->fetch_array($newsquery)) {
  
$newsthreadid=$news[threadid];
  
$newstitle=$news[title];
  
$newstime=vbdate($timeformat,$news[dateline]);
  
$newsdate=vbdate($dateformat,$news[dateline]);
  
$newsusername=$news[postusername];
  
$newsuserid=$news[postuserid];
  
$comments=$news[replycount];
  
$getnews=$DB_site->query_first("SELECT * FROM post WHERE threadid='$newsthreadid' ORDER BY postid ASC LIMIT 1");
  
$newstext=bbcodeparse($getnews[pagetext]);

  if (
$news[iconid]!=0) { $icon="<img src=\"{imagesfolder}/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; }

  eval(
"\$newsbits .= \"".gettemplate('home_newsbit')."\";");
}

eval(
"\$news = \"".gettemplate('home_news')."\";"); 

My file:
PHP Code:

// news ***************************
$newssql=$DB_site->query("SELECT * FROM thread
                          WHERE forumid='
$newsforum'
                          ORDER BY dateline DESC LIMIT 
$newsposts");
while (
$news=$DB_site->fetch_array($newssql)) {
  
$newsthreadid=$news[threadid];
  
$newstitle=$news[title];
  
$newstime=vbdate($timeformat,$news[dateline]);
  
$newsdate=vbdate($dateformat,$news[dateline]);
  
$newsusername=$news[postusername];
  
$newsuserid=$news[postuserid];
  
$getnewssql=$DB_site->query_first("SELECT * FROM post
                                     WHERE threadid='
$newsthreadid'
                                     ORDER BY postid ASC LIMIT 1"
);
  
$newstext=bbcodeparse($getnewssql[pagetext]);
  
$newsavatarurl=getavatarurl($newsuserid);
  if (
$newsavatarurl=="") {
    
$newsavatarurl="{imagesfolder}/clear.gif";
  }

  eval(
"\$newsavatar = \"".gettemplate('home_avatar')."\";");
  eval(
"\$newsbits .= \"".gettemplate('home_newsbits')."\";");
}
// end news *********************** 

Your Install text file:
Code:

+-----------------------------------------------------------------------+
| vBindex 1.2 - by el3m3nt (el3m3nt@gmx.ch)                                |
+-----------------------------------------------------------------------+
| vB.org Thread: https://vborg.vbsupport.ru/showthrea...threadid=37021
|                                                                        |
| Demo: http://partylife.ch                                                |
| Screenshots: http://partylife.ch/misc/vbindex1-5.jpg                        |
+-----------------------------------------------------------------------+

+-----------------------------------------------------------------------+
| Installation                                                                |
+-----------------------------------------------------------------------+

My Install text file:
Code:

+-----------------------------------------------+
| vbHome (lite)                                |
| Version 1.0                                  |
+-----------------------------------------------+
| By Nakkid (vBulletin.org hacker)
| Email(Messenger): nakkidone@hotmail.com
|
+--------------------------------------------------------------------------+
| This hack will create a vBulletin(powered) homepage for your website.    |
|                                                                          |
| The advantage of this hack is that you can interact better your          |
| website with vBulletin.                                                  |
| vbHome (lite) is fully customizable through vBulletin templates, so      |
| it's very easy to achieve any look or webdesign you want.                |
|                                                                          |
| NOTE: You are allowed to use this hack only if you agree not to remove  |
|      the vbHome (lite) link in the custom footer.                      |
+--------------------------------------------------------------------------+
|
+-----------------------------------------------+
| TEMPLATES TO CREATE                          |
+-----------------------------------------------+

i really dont care if other people who you copied the hacks into your file dont mind about this, but for me, i want you to put a credit note into your index.php (or install text) file, stating that portions of your hack were inspired from vbHome (lite) by nakkid.

let me ask you this. if i would not release this hack, whould you release it by yourself?

el3m3nt 04-07-2002 01:15 PM

dm, solution:

in index.php look for...
PHP Code:

$threadsquery $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum AND visible=1 order by lastpost desc limit $numthreads"); 

now edit the code like this...

PHP Code:

..... WHERE forumid!=$newsforum AND forumid!=$pollsforum AND visible=AND forumid!=(<= your private forum) AND forumid!=5 etc

just add the forumids of ur private forums...

el3m3nt 04-07-2002 01:24 PM

hehe nakkid. the look of the readme file.. is for me standard. i didnt copy anything of yours. if this disturb u really.. then say it to me.. and i will change the look ;).

yes i have copied the news feature of your script. sorry, i dont really care about credits and copyrights, cause for me counts the script and not the writer. when someone wants to use my code.. he could. i can understand if u want a credit note there.. i will put one, no problem. also for the online today hack.

i hope you won't become angry.

-=dm=- 04-07-2002 01:33 PM

I got an database error(therehas been a slight problem with database blah blah) it scared me :(
Im totally newbie when it comes to php. but I know how to copy/past lol.

here is the original line from index file:
and my private forumid is 11 and 38 can you please fix it for me?

PHP Code:

$threadsquery $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum AND visible=1 order by lastpost desc limit $numthreads"); 


also the news icon dont show up.

thanx alot el3m3nt soon Im ready to go online :D:D:D

wooolF[RM] 04-07-2002 01:36 PM

]
Quote:

Originally posted by el3m3nt
hehe nakkid. the look of the readme file.. is for me standard. i didnt copy anything of yours. if this disturb u really.. then say it to me.. and i will change the look ;).

yes i have copied the news feature of your script. sorry, i dont really care about credits and copyrights, cause for me counts the script and not the writer. when someone wants to use my code.. he could. i can understand if u want a credit note there.. i will put one, no problem. also for the online today hack.

i hope you won't become angry.

That was pretty lame answer... :tired:

el3m3nt 04-07-2002 01:40 PM

to dm:
PHP Code:

$threadsquery $DB_site->query("SELECT threadid,forumid,title,postusername,lastposter,replycount FROM thread WHERE forumid!=$newsforum AND forumid!=$pollsforum AND forumid!=11 AND forumid!=38 AND visible=1 order by lastpost desc limit $numthreads"); 

this should work. np.

el3m3nt 04-07-2002 01:41 PM

Quote:

Originally posted by wooolF[RM]

That was pretty lame answer... :tired:

we cleared it already thru pm.

KarateKid 04-07-2002 02:00 PM

Hi,

here I release the vbindex hack, which was originally written by element here https://vborg.vbsupport.ru/showthrea...threadid=37021 with a full integrated vblinks database hack originally written by The Sisko.

The example for this hack you can view here: http://www.kampfkunst-board.de/kampf...forum/home.php

This hack bases on the 1.2 of elements vbindex hack. And from the database hack I made many changes because it was originally for a very old version of vbb.

you can download the hack in english AND GERMAN

For Problems just post here :)


Greetings

KarateKid :rambo:

TECK 04-07-2002 02:28 PM

another solution would be to define perms.

TECK 04-07-2002 03:02 PM

Quote:

Originally posted by el3m3nt
for me counts the script and not the writer.
if that's the case, why you released the hack? you had your script set the way you want. did you noticed that everyone here respects someone else's work? i see firefly to give credit to a person in cause and hell this guy creates a hack almost every day. he could rewrite any hack here to be different from the original, but he doesnt do it for the simple fact because he realizes someone spent some time on that hack... just me, look at my hacks. i always post a credit because that person who wrote that code deserves to be congratulated... he worked on that code and he saved me time. there are people who wrote code segments to make better my hacks. i'm happy with this because they are better then me in that area. and the result is one: others get a better hack out of it.

is not about writing: credit to xxxxx... is about being fair and not labeling as yours for something you didnt do. that's all i have to say. and no need to worry, i dont get angry. all i try to do is explain to you the way everyone else work here.

sorry if i repeat myself, i didnt see that "i dont care" line, so i felt obligated to repost again.

wajones 04-07-2002 05:11 PM

All you did was copy some blocks from vbportal and put them into one php file.... What a jerk, you didn't even bother to rename the vars or remove my commented out errors....


BTW, if anyone wants to pre-view the PostNuke version of vbPortal you can see it here... http://pn.sforums.com It's still in developement, so don't ask :) And yes a couple things may break, it's still in Developement!!!

el3m3nt 04-07-2002 05:39 PM

hey guys,

first i have to apologize if i express me in a bad way. i learn english now just for 2 years, but i hope you know what i mean. and this should not be an excuse.

to the matter: i completly agree with you, nakkid. what i meant with "for me counts the script" is that i would like to have a script that works and that does what it should do. i just didnt take seriously where i should add a copyright or a credit note. i agree, the original writter of a code (segment) should get credits.
for my code thats not important.. when u'd like to get and use my code. just do it. credits arent really the important thing. this is just valid for little scripts. cms and boards scripts etc. are an other case.

hmm.. i'll porbably write more tomorrow.

TECK 04-07-2002 07:06 PM

Quote:

Originally posted by el3m3nt
i agree, the original writter of a code (segment) should get credits.
for my code thats not important.. when u'd like to get and use my code. just do it. credits arent really the important thing.

you contradict yourself. you say that credits are important then after, that they are not. and what exacly is your code? can you post a segment of code that you actually wrote?

KarateKid 04-07-2002 07:09 PM

Hi,

I agree totaly with element. I see no sence in bringing him in troubles. He made a good job and I add some things to his work. There is no reason for you to talk in this way with him. If you don't like the hack, you need not to install it. So stop making comments in this way :ermm: :ninja:

wooolF[RM] 04-07-2002 07:09 PM

karatekid, have u seen sources of both hacks?

-=dm=- 04-07-2002 07:13 PM

and I love you both el3m3nt & nakkid :D

need help with the news image icon, but Im not sure, should ask you guys, u r probably angry :(

the image still not show up tried both hacks.

KarateKid 04-07-2002 07:30 PM

@wooolF[RM]: Yes :)

Look at my post :)

-->> https://vborg.vbsupport.ru/showthrea...891#post237891

TECK 04-07-2002 07:36 PM

Quote:

Originally posted by KarateKid
I agree totaly with element. He made a good job and I add some things to his work. There is no reason for you to talk in this way with him. If you don't like the hack, you need not to install it. So stop making comments in this way :ermm: :ninja:
KarateKid, what hack you made? you mean the sisko's hack? el3m3nt basically copied several hacks and put them toghehter. he first started with my hack. he liked the idea, analised the code... then he said: i will make something cool. let me rip a little from vbPortal and vBulletin.. ahh wait.. there are some cool hacks that i can also label as mines.. "today's users online", etc.

do you guys think is this the way to do things around here? at least you KarateKid had the courtesy to mention it, sisko's hack mod.

and is not about stoping to make comments, is about being fair. you guys didnt work at all on those hacks. copying and pasting does not equal to hacking.

do you know how many hours i spend me on code making? i dont know very well php. so it's time consuming. lucky me i have good people here who help me out to clear questions. so after trying and testing my hacks, i see some guy comming out there and pretend that is his work? you are gotta be kidding right?

Neo 04-07-2002 07:42 PM

Tell me about it. I think someone should make a hack mod that totally encodes scripts used for vb and make it so vb can read them..O_O but its funny how people do this. I think you should tell one of the admins about this Nakkid

TECK 04-07-2002 07:44 PM

Quote:

Originally posted by KarateKid
@wooolF[RM]: Yes :)
Look at my post :)
https://vborg.vbsupport.ru/showthrea...891#post237891

wooolF referred to the code source, Karatekid. not at your hack. and btw, to refresh your memory, look what wajones (vbPortal owner and code writer) said:
Quote:

Originally posted by wajones
All you did was copy some blocks from vbportal and put them into one php file.... What a jerk, you didn't even bother to rename the vars or remove my commented out errors....
that says it all, for me. i didnt had the chance to look at the vbPortal code, but this is comming straight from the source...

KarateKid 04-07-2002 07:54 PM

oh my god. It's just a hobby. You must not take my hack. I see no sence in having a discussion about this.

Sorry if I'm a problem for you. Just ignore me please. I only wanted to give you all something, what I really like ;)

Greetings

TECK 04-07-2002 07:57 PM

hobby?? lol. put it the way you want. let me put it in simple terms. please write a hack. pm me after. then i will take your hack and change the title and few variables. then say it's my work. cool? let me know please when you are ready. thanks.


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