The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBindex v3.0.0 RC5 Details »» | |||||||||||||||||||||||||
[high]vBindex v3.0.0 RC5[/high]
I happy to announce the fith release of vBindex for vBulletin 3 here at vBulletin.org and also the first Offical vB3 Hack here . This is the 9th release of vBindex for vB3 and there are few known problems currently. This release works with vB 3.0.0 Gamma, vB 3.0.0 RC1, vB 3.0.0 RC2, vB 3.0.0 RC3, vB 3.0.0 RC4 and vB 3.0.0. [high]Features[/high] The following are the features that are presently avalible in vBindex, those marked [high]*NEW*[/high] have been updated since vBindex 2.1 and those marked [high]*NEW*[/high] have been updated since Pre-RC2 was released and those marked [high]*NEW*[/high] have been added since RC2 and those marked [high]*NEW*[/high] have been added since RC3.
[high]Installation/Upgrade[/high] See the README_1ST.htm file included in the zip for more detailed install instructions and details of where to upload the files. Then point your browser to http://www.mydomain.com/forums/admin/vbiupgrade.php. Changes Since vBindex 3.0.0 RC4 vBindex 3.0.0 RC4 was released about a week ago, RC5 has just a few changes and is expected to be the last release before vBindex 3.0.0. Changes include fixing of an XHTML issue in the custom block templates; admin help system added; ability to restrict the length of shouts. [high]Support[/high] Support will be given here in this thread ONLY. [high]Support *WILL NOT* be given via PM/Email/IM.[/high] [high]************************************************[/high] vBindex is Copyright MMII - MMIV Winter Systems, you may not distribute in part or whole any portion of the source code (apart from in this thread) or any file included in the zip (Unless you are posting a language translation of vbindex_phrases.xml in this thread). Portions Copyright MM - MMIV Jelsoft Enterprises Limited. Both the Jelsoft vBulletin and the Winter Systems vBindex Copyright notice in the footer must stay in place for any page powered by vBindex. [high]************************************************[/high] [high]vBindex is *FREE*, please have the courtesy click install if you use this hack, thank you[/high] RC3 Build 7: 719 RC3 Build 8: 377 RC3 Build 10: 486 RC4 Build 5: 107 RC5 Build 5: 87 Supporters / CoAuthors Show Your Support
|
Comments |
#1192
|
||||
|
||||
Quote:
|
#1193
|
|||
|
|||
Quote:
Any comment ??? |
#1194
|
||||
|
||||
I can't seem to change the navbar background in the index -> nav template. I sware I have done everything possible. its not my paths they have all been corrected (hense the red gradients in the sample). anyone guide me?
|
#1195
|
|||
|
|||
Here is the gallery code I want to include at the bottom of the vbindex page. I want it centered like the centered latest threads page. I dont know much php. Can anyone help me and tell me where to put it please?
//++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++ +++++++++++++++++++ echo("<table bgcolor=\"#F7F7F7\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\"> "); echo("<tr> "); echo("<td valign=\"top\" bgcolor=\"CC0000\"><font face=\"verdana, arial, helvetica\" size=\"2\" class=\"nf\" color=\"#FFFFFF\"> <b>Latest "); echo("Gallery Images - "); $dbusername=""; $password=""; $database="" mysql_connect(localhost,$dbusername,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "SELECT * FROM photos WHERE approved='1'"; $result=mysql_query($query); $numrows=mysql_num_rows($result); echo ("$numrows Photos and Counting"); echo("</b></font></td>"); echo("</tr>"); echo("<tr>"); echo("<td bgcolor=#F7F7F7><div align=center>"); echo("<p><font size=1 face=Geneva>"); //////////////////////////////////////////////////////////////////////////// // thumbincluder.php version 1.1 // A thumbnail includer for your non-photopost page // Tested with Photopost PHP version 3.0.4 //////////////////////////////////////////////////////////////////////////// //1.0 first release //1.1 included remote functions for standalone operation // please note database hooks and paths are required in settings below. //////////////////////////////////////////////////////////////////////////// // July 13, 2002 Here is a hacked-up version of photoinclude.php that has // been merged with a hacked-up version of index.php and a hacked-up version of // display_gallery by a guy on two quarts of caffeine at 3:40 AM, oh, // and did I mention it was his first php programming experiment ever? // // If that didn't scare you enough: BACK UP YOUR DATABASE NOW! // // This file goes in your photopost php directory with all the other files // Then configure Display Settings below as desired. // // NOTES: // Please note that the prior typo "lastest" has been fixed, so the valid // switches are random, most_views (plural) and latest (spelled correctly) // // If you liked this hack, email me a link to your photopost so I can learn // something from your layout too! // // Live long and prosper - Matt Chroust (memobug@spamcop.net) // //////////////////////////// COPYRIGHT NOTICE ////////////////////////////// // This script is part of PhotoPost PHP, a software application by // // All Enthusiast, Inc. Use of any kind of part or all of this // // script or modification of this script requires a license from All // // Enthusiast, Inc. Use or modification of this script without a license // // constitutes Software Piracy and will result in legal action from All // // Enthusiast, Inc. All rights reserved. // // http://www.photopost.com legal@photopost.com // // Contributing Developer: Michael Pierce (danasoft.com) // // // // PhotoPost Copyright 2002, All Enthusiast, Inc. // //////////////////////////////////////////////////////////////////////////// // ************************************************** *********************** // ************************************************** *********************** //PhotoPost Setting //You must change these values in order to run this script $Url_Path = "http://www.ifitsfast.com/photogallery/"; //URL of your photo album, where the index.php is (with / at end) $data_dir = "http://www.ifitsfast.com/photogallery/data/" ; //URL of your photo dir where those jpeg stored (with / at end) $images_dir =$Url_Path."../images/"; //URL of your photopost images dir where default missing thumb image is stored (with / at end) $rel_dir = "../photogallery/data/"; // path to the data directory where pictures reside RELATIVE // to the location of THIS file (used for checking thumbs) //Database Setting //You must change these values in order to run this script //These value are not visible in the output page source $host = ""; //Server Name $user= ""; //Username $password= ""; //Password $database=""; //Photopost database name or forum database name //Display Setting (Changes to fit your page) $q_switch = "latest"; // "random" or "most_views" or "latest" $limit = 8; //number of image to show $table_width = "65%"; //width of the table generated $column = 4; //number of columns of the table generated $photo_cell_align = "center"; //alignment of those cells // CSS Setting (optional) $class_link = ""; //css for link, leave blank if none $class_table = ""; //css for table, leave blank if none $class_mouseover = ""; //color when mouse over the photo cell, leave blank if to cancel // ************************************************** *********************** // ************************************************** *********************** ///////////don't edit below this line if you are too afraid to kill the code////////////// // ---------------------- THESE FUNCS FROM pp-inc ----------------- function mysql_query_eval( $query, $database ) { global $Globals; $mysql_eval_error=""; $mysql_eval_result = mysql_query($query, $database) or $mysql_eval_error = mysql_error(); if ($mysql_eval_error) { if ( $Globals{'debug'} == 1 ) { $letter = "An error was encountered during execution of the query:\n\n"; $letter .= $query."\n\n"; $letter .="The query returned with an errorcode of: \n\n$mysql_eval_error\n\n"; $letter .= "If you need assistence or feel this is a 'bug'; please report it to our "; $letter .= "support forums at: http://www.techimo.com/forum/f27/index.html\n\n"; $letter .= "To turn off these emails, set \$debug=0 in your config-inc.php file."; $email = $Globals{'adminemail'}; $email_from = "From: ".$Globals{'adminemail'}; $subject="Subject: ".$Globals{'webname'}." MySQL Error Report"; $subject=trim($subject); mail( $email, $subject, $letter, $email_from ); } elseif ( $Globals{'debug'} == 2 ) { dieWell( "MySQL error reported!<p>Query: $query<p>Result: $mysql_eval_error<p>Database handle: $database" ); exit; } return FALSE; } else { return $mysql_eval_result; } } function get_ext( $filename ) { $photolen = strlen($filename); $RetVal = substr( $filename, $photolen-3, $photolen); return $RetVal; } function get_filename($filename) { // strip off the last 4 $len = strlen( $filename )-4; $RetVal = substr( $filename, 0, $len); return $RetVal; } // ---------------------- THESE FUNCS FROM pp-inc ----------------- // Connecting, selecting database $link = mysql_connect ("$host", "$user", "$password") or die ('I cannot connect to the database.'); mysql_select_db ("$database")or die("Could not select database"); // Here is the hacked up display_gallery($q_switch) $catquery=""; if ( IsSet($cat) ) { $querya="SELECT catname FROM categories WHERE id=$cat"; $catq = mysql_query_eval($querya,$link); $catr = mysql_fetch_array($catq); $catname = $catr['catname']; mysql_free_result($catq); $queryb = "SELECT id FROM categories WHERE parent='$cat' ORDER BY catorder ASC"; $boards = mysql_query_eval($queryb,$link); $cnt=0; while ( $row = mysql_fetch_array($boards, MYSQL_ASSOC)) { $catqid = $row['id']; if ( $cnt == 0 ) { $cnt=1; $catquery .= "$catqid"; } else { $catquery .= ",$catqid"; } } mysql_free_result($boards); } // Connecting, selecting database // Selecting method and Perform SQL query switch ($q_switch) { case "most_views": if ( !IsSet($cat) ) { $group_title = "Most Popular Images - All Categories"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat ORDER BY views DESC LIMIT $limit"; } else { $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat AND cat in ($catquery) ORDER BY views DESC LIMIT $limit"; $group_title = "Most Popular Images - $catname"; } break; case "latest": if ( !IsSet($cat) ) { $group_title = "Most Recent Images - All Categories"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat ORDER BY date DESC LIMIT $limit"; break; } else { $group_title = "Most Recent Images - $catname"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat AND cat in ($catquery) ORDER BY date DESC LIMIT $limit"; break; } break; default: if ( !IsSet($cat) ) { $group_title = "Random Images - All Categories"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat ORDER BY RAND() DESC LIMIT $limit"; break; } else { $group_title = "Random Images - $catname"; $query = "SELECT id,user,userid,cat,title,bigimage,views FROM photos WHERE bigimage!='' AND approved='1' $exclude_cat AND cat in ($catquery) ORDER BY RAND() DESC LIMIT $limit"; break; } break; } $i = 1; $e = 2; $col_val = $column; $result = mysql_query_eval($query,$link) or die("Query failed"); print "<table class=\"".$class_table."\" width=\"".$table_width."\"><tr>"; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $photo_name = get_filename( $line['bigimage'] ); print "<td onmouseover=this.style.background='".$class_mouseo ver."' onmouseout=this.style.background='' align=\"center\">"; $theext = get_ext( $line['bigimage'] ); $thecat = $line['cat']; $temp_user = ($line["userid"]); $filepath = "$data_dir"."$thecat/$temp_user$photo_name-thumb.$theext"; $rel_path = "$rel_dir"."$thecat/$temp_user$photo_name-thumb.$theext"; print "<A class=\"$class_link\" href=\"$Url_Path"."showphoto.php?photo=".$line['id']. "\">"; if ( file_exists( $rel_path ) ) print "<img border=\"0\" src='$filepath'>"; else print "<img border=\"0\" src='".$images_dir."nothumb.gif' alt='$filepath'>"; print "<Font size=\"1\"color=\"".$Globals{'maintext'}."\" face=\"verdana,arial\">\n"; if ($q_switch == "most_views") { print "<br>".$line["title"]."<br>".$line["views"]." views"; print "</a><br></font></div><br>"; } else { print "<br>".$line["title"]; print "</a><Br>by ".$line["user"]."</font></div><br>"; } if ($i == "$column") { print "</td></tr><tr>"; $column = $col_val*$e; $e++; } else {print "</td>";} $i++; } print "</tr></table>"; // Closing connection mysql_close($link); // mysql_close($db_link); echo("</font></p>"); echo("</div></td>"); echo("</tr>"); echo("</table>"); //++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++ +++++++++++++++++++ |
#1196
|
||||
|
||||
Quote:
|
#1197
|
|||
|
|||
Quote:
I've also noticed that "Members Online Today" shows ALL of my users which I know is not correct. That is also happening on the main page of my Admin CP. It's showing ALL posts and threads as new today. One last thing, and I think it's related to the calendar template issue I'm having, but when I click on "April" on my calendar it's adding the beginning of my site url twice which is causing a "page cannot be found" error. |
#1198
|
||||
|
||||
Quote:
|
#1199
|
||||
|
||||
Quote:
Quote:
|
#1200
|
||||
|
||||
NTLDR,
Is there any reason why you moved the headinclude/navbar/pm_popup_scripts templates out to vbindex_headinclude/navbar/pm_popup_scripts, since RC4? The problem I see is that whenever Jelsoft releases an upgrade with changes in those templates, one must apply the changes twice (normal and vbindex_headinclude/navbar/pm_popup_scripts). |
#1201
|
||||
|
||||
has anyone an idea how to create a custom box which include today's events?
i tried to include the code vom the vbulletin index.php for the next 5 days events, but without success ;( but i think, that a "show today's events box" would be really great |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|