Thread: vBindex
View Single Post
  #60  
Old 04-07-2002, 12:58 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01186 seconds
  • Memory Usage 1,826KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete