The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBindex v2.1 Details »» | |||||||||||||||||||||||||
[HIGH]vBindex v2.1[/HIGH]
This hack is **NOT** to be re-distributed or placed on website for download unless I give express permission. Please read this post and the thread before asking questions. You may find that you question has already been answered. I will ignore posts which ask questions that have been asked several times already. [HIGH]Latest Stable Version: 2.1[/HIGH] Latest Avalible Version: 2.1 Final [high]Using vB3?[/high] Get vBindex 3.0.0 for vB3 Gamma/RC1 and above! Version 1.x of this hack was done by el3m3nt, since then there have been many updates and fixes and as e3l3mnt is no longer updating this hack he has given me permission to re-release it (see Permisson.txt in the zip). [HIGH]Features[/HIGH]
[HIGH]Demo Site[/HIGH] A standard demo of vBindex can be found here: Currently Offline. A customised demo of vBindex can also be found here: Currently Offline. [HIGH]Screenshots From v2.1[/HIGH] vBindex Home Page vBindex ACP Options vBindex Usergroup Options vBindex Update Counters [HIGH]vBindex v2.1 Information[/HIGH] [HIGH]Installation/Upgrade[/HIGH] Upload vbi_install.php and select the relevent options. If you wish to use the shoutbox then this hack is a prerequsit, and needs to be installed first, however if you do not require the shoutbox option disable it in the ACP, otherwise you will get DB errors. [HIGH]Latest Bug Fixes[/HIGH] None. [HIGH]Download[/HIGH] See the attachment on this post. [HIGH]Credits[/HIGH] vBindex 1.x by el3m3nt Shoutbox by TWTCommish Welcome Panel by trilOByte News Code based on code by TECK Poll PHP from vBPortal by wajones [HIGH]Feature Requests[/HIGH] If you have any requests for new features please post them in this thread and I will consider integrating them / creating an addon. [HIGH]Addons[/HIGH] I will support all addons for vBindex v2 that are either posted by myself or are included in the distribution zip file unless otherwise stated. I cannot guarentee that I can provide support on any other addons. [HIGH]Support/Feekback[/HIGH] Please provide me with any feekback you have on this hack, I will be continuing to support this hack here only, unless otherwise arranged. Should you have a question about this hack, please post it in this thread. Support will not be given via PM, Email or IM unless arranged, you will just be ignored. Please click on the [HIGH]install[/HIGH] button if you use this hack. French templates have been made for v2.0.1 (Note: vBindex 2.0.1 is no longer avalible), see this post for details. Show Your Support
|
Comments |
#1422
|
|||
|
|||
I have got a slight problem...Everything is working perfectly..But, when it pulls the news thread, it shows the Title of the thread, the users avatar, read full post, comments, etc.
But, no matter the amount of characters I set for it to show, it simply shows nothing in the body of the post. Did I zig when I should have zagged somewhere in the setup? I am using vBulletin 3.0 Thanks, Dave |
#1423
|
||||
|
||||
Mine all works good, it even shows the news tiltes and avatars, except, it wont show the news content ...
Help please? |
#1424
|
||||
|
||||
ok, same problem as dbroomjr
|
#1425
|
||||
|
||||
Yep yep. I just upgraded to version 2.3.0 and I get everythign working fine also but the news won't pull.
Maybe it has to do with the file edit in which I found the line in three places in the 2.3.0 file? Wait, that won't make sense without reference. I'll be right back. |
#1426
|
||||
|
||||
Update - for 2.3.0 users
First, make sure you ran the update counters after installing. If this doesn't fix the problem (of the news not being pulled onto the main page), then try this: In newthread.php find the line PHP Code:
Anyway, change the above to something like below: [php] PHP Code:
|
#1427
|
||||
|
||||
Quote:
Quote:
|
#1428
|
||||
|
||||
sorry but i am retarded or its too late for my brain to function properly.. but i installed vbindex fine... and it works greats, its awesome.. good job.. but the images are not working.... probably bc the vbindex.php is not in the forum/ dir. so where do i have to change it to fix it? i probably missed something... thnx in advance...
nvm.... i just had to change the images path.... on vbulletin cp... but the avatar image wouldnt work, bc u had to change it in vbindex.php... i am retarded |
#1429
|
||||
|
||||
Hello,
I have tried to install this hack as I think its a really good idea but keep getting this at the bottom of vbindex.php // ------------------------- // end vBulletin original code } // end of vB // vBindex - start // ------------------------- // welcome panel by trilOByte // ------------------------- if ($bbuserinfo[userid]!=0) { $avatarurl=getavatarurl($bbuserinfo[userid]); if ($avatarurl=='') { $avatarurl='{imagesfolder}/avatars/noavatar.gif'; } $avatarimage=''; } else { $avatarimage=''; } // ------------------------- // end welcome panel // news (based on code by TECK) // ------------------------- if ($newsonoff!=0) { $newsquery=$newsquery=$DB_site->query("SELECT thread.*,threadpost.pagetext AS pagetext FROM thread LEFT JOIN post AS threadpost ON (thread.tpostid = threadpost.postid) WHERE forumid = '$newsforum' ORDER BY thread.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]; $newstext=censortext(bbcodeparse($news[pagetext],0,1)); $icon=$news[iconid]; // uncomment out next line to remove line breaks in the news //$newstext=str_replace(" ","",$newstext); // max news chars if ($maxnewschars!=0) { if (strlen($newstext) > $maxnewschars) { $newstext = substr($newstext,0,$maxnewschars); $newstext .= "..."; } $readmore="Read Full Post - "; } // end max newschars // get users avatar to display with news if ($shownewsavatar!=0) { $newsavatarurl2=getavatarurl($newsuserid); if ($newsavatarurl2=='') { $newsavatarurl='{imagesfolder}/clear.gif'; } else { $newsavatarurl=''.$bburl.'/'.$newsavatarurl2.''; } eval("\$newsavatar = \"".gettemplate('home_avatar')."\";"); } // end avatar eval("\$newsbits .= \"".gettemplate('home_newsbit')."\";"); } eval("\$news = \"".gettemplate('home_news')."\";"); } // ------------------------- // end news // latest threads // ------------------------- if ($threadsonoff!=0) { //get forum perms $forumperms=$DB_site->query("SELECT forumid FROM forumpermission WHERE canview='0' AND usergroupid='$bbuserinfo[usergroupid]'"); while ($forumperm=$DB_site->fetch_array($forumperms)) { $threadsql .= " AND forumid!=$forumperm[forumid]"; } $threadsquery=$DB_site->query("SELECT * FROM thread WHERE open=1 AND thread.open<>10 ".$threadsql." AND forumid!=$newsforum AND forumid!=$pollsforum AND visible=1 ORDER BY lastpost DESC LIMIT $maxvbithreads"); while ($latestthread = $DB_site->fetch_array($threadsquery)) { $title = unhtmlspecialchars($latestthread['title']); $starter = $latestthread['postusername']; $numreplies = $latestthread['replycount']; $lastposter = $latestthread['lastposter']; $mpostid= $latestpost['postid']; $postdate=vbdate($dateformat,$latestpost[dateline]); $posttime=vbdate($timeformat,$latestpost[dateline]); $postforum=$latestforum['title']; $postforumid=$latestthread['forumid']; $gothreadid = $latestthread['threadid']; if (($counter++ % 2) != 0) { $threadbg="{firstaltcolor}"; } else { $threadbg="{secondaltcolor}"; } eval("\$threadbits .= \"".gettemplate('home_threadbit')."\";"); } eval("\$threads = \"".gettemplate('home_threads')."\";"); } // ------------------------- // end latest threads // poll by wajones // ------------------------- if (($pollonoff!=0) && (!isset($section) or $section=="")) { $pollinfo=$DB_site->query_first("SELECT poll.*,thread.threadid,thread.open,thread.replycou nt FROM thread LEFT JOIN poll ON (thread.pollid=poll.pollid) WHERE thread.forumid='$pollsforum' ORDER BY poll.dateline DESC LIMIT 1"); if (!empty($pollinfo[question])){ $pollinfo[question]=bbcodeparse($pollinfo[question],0,1); $polltitle=$pollinfo[title]; $splitoptions=explode("|||", $pollinfo[options]); $splitvotes=explode("|||",$pollinfo[votes]); $pollisclosed=0; $pollisactive=$pollinfo[poll.active]; $pollid=$pollinfo[poll.pollid]; $comments=$pollinfo[replycount]; if (!$pollinfo[active] or !$pollinfo[open] or ($pollinfo[dateline]+($pollinfo[timeout]*86400)query_first("SELECT pollvoteid FROM pollvote WHERE userid='$bbuserinfo[userid]' AND pollid=$pollinfo[pollid]")) { $uservoted=1; } } $counter=0; while ($counter++<$pollinfo[numberoptions]) { $pollinfo[numbervotes]+=$splitvotes[$counter-1]; } $counter=0; $pollbits=""; while ($counter++<$pollinfo[numberoptions]) { $option[question] = bbcodeparse($splitoptions[$counter-1],0,1); $option[votes] = $splitvotes[$counter-1]; //get the vote count for the option $option[number] = $counter; //number of the option // Now we check if the user has voted or not if ($pollisclosed or $uservoted) { // user did vote or poll is closed if ($option[votes] == 0){ $option[percent]=0; } else{ $option[percent] = number_format($option[votes]/$pollinfo[numbervotes]*100,2); } $option[graphicnumber]=$option[number]%6 + 1; $option[barnumber] = round($option[percent])*2; $option[barnumber] = round($option[percent]); $option[percent] = round($option[percent]); if ($pollisclosed) { $pollstatus = "Poll Closed."; } elseif ($uservoted) { $pollstatus = "You have already voted."; } $pollbits .= "$option[question] $option[votes]$option[percent]%"; } else { // $pollbits .= "$option[question]"; if ($pollinfo['multiple']) { $pollbits .= "$option[question]"; }else{ $pollbits .= "$option[question]"; } } } if ($pollisclosed or $uservoted) { eval("\$poll = \"".gettemplate('home_pollresult')."\";"); } else { eval("\$poll = \"".gettemplate('home_poll')."\";"); } } else { $poll="No Poll Available"; } } // ------------------------- // end poll // start shoutbox by TWTCommish // ---------------------------- if (($shoutboxonoff!=0) && (!isset($section) or $section=="")) { $smilie_limit = 12; if ($type == 'shout' && $comment_submit && trim($message) != '' && $bbuserinfo[userid] > 0) { $DB_site->query("INSERT INTO shoutbox SET userid = '$bbuserinfo[userid]', shout_text = '".addslashes($message)."', timestamp = '".time()."'"); header("Location: $PHP_SELF?s=$sessionhash[sessionid]"); } $shouts = $DB_site->query("SELECT u.username, u.userid, s.shoutid, s.shout_text FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT $shoutlimit"); if (!$DB_site->num_rows($shouts)) { eval("\$shoutbits = \"".gettemplate("home_shoutbox_error",1,0)."\"; "); } else { while ($shout_info = $DB_site->fetch_array($shouts)) { extract($shout_info); $subject = stripslashes($subject); $body = stripslashes($body); $user = ($HTTP_GET_VARS["userid"] > 0) ? "&userid=$userid" : ''; $color = ($num++ % 2 == 0) ? '{firstaltcolor}' : '{secondaltcolor}'; $shout_text = bbcodeparse($shout_text); eval("\$shoutbits .= \"".gettemplate("home_shoutboxbit",1,0)."\";"); } } if ($bbuserinfo[userid]) { $submit=$PHP_SELF; eval("\$shoutbox_postshout = \"".gettemplate("home_postshout",1,0)."\";"); } eval("\$homeshoutbox .= \"".gettemplate("home_shoutbox")."\";"); } // end shoutbox by TWTCommish // --------------------------- // left & right templates // ------------------------- eval("\$left = \"".gettemplate('home_left')."\";"); eval("\$right = \"".gettemplate('home_right')."\";"); // header, footer & headinclude templates // ------------------------- eval("\$homeheadinclude = \"".gettemplate('home_headinclude')."\";"); eval("\$homeheader .= \"".gettemplate('home_header')."\";"); eval("\$homefooter .= \"".gettemplate('home_footer')."\";"); // vBindex - end // multi-paged vBindex page selector if (!$page) { // no page specified eval("dooutput(\"".gettemplate('home')."\");"); } else { // only allow home_extra_ templates for security reasons eval("dooutput(\"".gettemplate("home_extra_$page") ."\");"); } ?> I don't know what I have done wrong at all! Is there anyway maybe some one who has this hack installed with Vbulletin 2.3.0 could send me the files that needed edited because I have gone through it like a tooth comb and just don?t know what?s happen. If you could send me the files I would be so grateful my e-mail address is crowfield99@aol.com Many thanks. |
#1430
|
|||
|
|||
Dear NTLDR (I hope I did spell it right),
I have a little question regarding your portal software. I know this thread is huge but I haven't managed to find an answer yet. Maybe I was using the wrong keywords. Anyway, in your hack description you mention "multiple" pages. How is that to be understood? What I currently plan to do is creating a portal page for two different clans (Diablo 2 and Counterstrike) and I would each one to have their own news and polls forum. If possible to have their own "Newest Topics" etc listed. Can that be done? |
#1431
|
|||
|
|||
Can someone tell me how I add a forum jump to my page?
I tried putting in <p align=right>$forumjump</p> but got nothing. Any ideas? Thanks |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|