vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

NTLDR 04-02-2004 08:36 AM

Quote:

Originally Posted by Kalakov
got a little problem if it login at the main page of vBindex then its Redirecting... back to the main page but i'm not loged in

anyone know how to fix this :)

Make sure yout cookie path is set to: / and your cookie domain too: .mydomain.com (note the two dots).

NTLDR 04-02-2004 08:37 AM

Quote:

Originally Posted by killervette
On the centered threads, how can I remove the row with the buttons for replying and emailing and so on?

Edit the vbindex_centerthreadbit template.

NTLDR 04-02-2004 08:39 AM

Quote:

Originally Posted by chris frolic
yeah, I just double checked and the main page is replacing the html codes with innoquous '&' codes where as the forum is display the < > html codes properly. Any idea where that would be happening?

Try this edit, in vbindex.php above:

PHP Code:

// ## GET POSTERS AVATAR ## 

Add:

PHP Code:

$news['pagetext'] = unhtmlspecialchars($news['pagetext']); 


NTLDR 04-02-2004 08:42 AM

Quote:

Originally Posted by da prez
how can i add permissions to a custom block ?

i want to have a custom box that only certain usergroups can see.
the custom block like it is, is viewable by all.

thanks for a sweeeeeet hack.

HTML Code:

<if condition="is_member_of($bbuserinfo, X)">
html for the block goes here
</if>

Making sure you can X to the group you want to be able to see it. For more than one group do is_member_of($bbuserinfo, X) AND is_member_of($bbuserinfo, Y) (etc).

Corvette 04-02-2004 10:58 AM

I'm going to be usin' this one! Thanks for the portal!

killervette 04-02-2004 05:01 PM

Quote:

Originally Posted by NTLDR
Edit the vbindex_centerthreadbit template.


I tried removing everything from that template and the bar still shows?

killervette 04-02-2004 05:03 PM

I still cant figure out how to get the code for my gallery script to work. I want it centered in a latest thread block at the bttom of the page. I am php stupid.

snyx 04-02-2004 10:21 PM

Quote:

Originally Posted by NTLDR
In the CSS for the table header/cat in the style manager add something similar to the following in the Extra CSS Attribute box:

Or if you still have vB's default CSS the edit the URL in the background box.

wikkid thank you very much. for all the time you put into vBulletin it's easy to see why its' said vB has the best user support. :)

Thanks again for a great mod.

snyx 04-02-2004 10:51 PM

oops still a small problem with the navbar background under the links.. I just can't seem to change this blue bar, huh

Cloudrunner 04-03-2004 01:32 AM

Quote:

Originally Posted by Sam FT
Another request since you guys brought up center block...I like to see a weather block either add or an addon. Mainly since someone create one for vbadvanced.

Just replace the original coding that is in any of your unused custom blocks with the following:

Code:

<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%">
 <tr>
  <td>
  <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
    <thead>
    <tr>
      <td class="tcat" style="text-align: center">
      <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_customblock$box')"><img id="collapseimg_vbindex_customblock$box" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_vbindex_customblock.gif" alt="" border="0" /></a>
      <if condition="!$bbuserinfo['userid']">
        <strong>You are not yet a member</strong>
      <else />
        <strong>Weather For $bbuserinfo[username]</strong>
      </if>
      </td>
    </tr>
    </thead>
    <tbody id="collapseobj_vbindex_customblock$box" style="$collapseobj_vbindex_customblock">
    <tr>
      <td class="alt1">
      <div class="smallfont">
        <if condition="!$bbuserinfo['userid']">
        <span class="smallfont">
          <a href="$vboptions[bburl]/register.php">Register at this site</a> to show your weather conditions.
        </span>
        <else />
        <if condition="$bbuserinfo[field5] != ''">
          <a href="http://www.weatherroom.com/forecast/$bbuserinfo[field5].html"><img src="http://www.weatherroom.com/weather?forecast=zone&hwvtc=black&hwvbg=E1E4F2&pands=$bbuserinfo[field5]&config=png&alt=hwivzone&daysonly=1" alt="Weather for $bbuserinfo[username]" border="0"></a>
        <else />
          <a href="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</A> to show weather conditions.
        </if>
        </if>
      </div>
      </td>
    </tr>
    </tbody>
  </table>
  </td>
 </tr>
</table>
<br />

Then in your vbindex options tell it that you want to use one more custom black than you have currently, then save, then in the vbindex options again select where you want to put that custom block.

Note: This is just a revamp of the other weather block for vbadvanced. Nothing changed except for the wrapping code to make it a side block for vbindex. All credits go to the author of that addon. If I am wrong in posting this, then feel free to have it removed.

)O( Cloudrunner )O(

chas_h 04-03-2004 02:18 AM

Quote:

Originally Posted by Cloudrunner
Just replace the original coding that is in any of your unused custom blocks with the following:


Then in your vbindex options tell it that you want to use one more custom black than you have currently, then save, then in the vbindex options again select where you want to put that custom block.

Note: This is just a revamp of the other weather block for vbadvanced. Nothing changed except for the wrapping code to make it a side block for vbindex. All credits go to the author of that addon. If I am wrong in posting this, then feel free to have it removed.

)O( Cloudrunner )O(

The code works fine, and makes the weather block but when you click on it you are taken to the user CP to add your zip code and I don't see a place for that. Any ideas?

Thanks.

da prez 04-03-2004 02:33 AM

Quote:

Originally Posted by NTLDR
For more than one group do is_member_of($bbuserinfo, X) AND is_member_of($bbuserinfo, Y) (etc).

worked like a charm, but i used the word "or" not "and"

thanks again for a wicked hack....uh, wicked add-on and the support.

chas_h 04-03-2004 02:57 AM

Quote:

Originally Posted by chas_h
The code works fine, and makes the weather block but when you click on it you are taken to the user CP to add your zip code and I don't see a place for that. Any ideas?

Thanks.


Nevermind, I did a search for the original thread for this hack and it explained how to add a new user field. Works great, thanks.

noppid 04-03-2004 04:04 AM

Good Job on RC5. The upgrade went flawless, although I had to use the extra link to get past the URL list. No inconvienance.

The changes in the templates look very good too.

Cheers

Exero 04-03-2004 05:49 AM

zip is currupted ??

Exero 04-03-2004 05:52 AM

the zip is currupted?

chet 04-03-2004 07:52 AM

I have installed and all works well apart from the icon1.gif link, I get the ewd cross instead of the icon

The path shows http://www.somesite/portal/forum//po...cons/icon1.gif

as you can see there is an addedd //portal/forum part, how do I get rid of that

Regards

Chet

Kalakov 04-03-2004 08:43 AM

Quote:

Originally Posted by NTLDR
Make sure yout cookie path is set to: / and your cookie domain too: .mydomain.com (note the two dots).





Thanks that did the trick :)

AlexanderT 04-03-2004 08:49 AM

1) I had vBi 3.0RC3 installed and wanted to automatically upgrade to vBi 3.0RC5. The upgrade installer went fine (no errors). But it didn't do anything to my vbindex_* templates. It also didn't tell me that I had customized templates since 3.0RC3 (although I have customized them).

2) Confused, I loaded the vbiupgrade script again and chose uninstall. Well, to my surprise it didn't do anything to my templates again, there were all still there, even after the uninstall.

So are 1) and 2) both related to bugs in the install/uninstall script or am I doing something wrong? If they are bug-related, I am kinda hesitant to use the installer script at all on my live-system (who knows what other bugs are in there). In this case, perhaps someone can explain how to manually upgrade vBi instead?

chet 04-03-2004 09:25 AM

Quote:

Originally Posted by chet
I have installed and all works well apart from the icon1.gif link, I get the ewd cross instead of the icon

The path shows http://www.somesite/portal/forum//po...cons/icon1.gif

as you can see there is an addedd //portal/forum part, how do I get rid of that

Regards

Chet


OK Think i'm getting some place now, I have the images working now by changing the url of the forum home page in vBoptions, now all the links for the forum just point to my root index and not the forums, can anybody help

Chet

Bulent Tekcan 04-03-2004 09:33 AM

How can I uninstall this hack ? Also when I upgrade my board any problem future ?

Because add everywhere a lot of style and phrases.

Can I unistall this hack ???

chet 04-03-2004 10:53 AM

Quote:

Originally Posted by NTLDR
There is no need to post the same question every other post. You'll find the answer over at Core Forums, the offical place for vBindex 3.

I have been over there and there are no postings related to custom blocks
Where do I find information on how to do this

Regards

Chet

Cloudrunner 04-03-2004 11:15 AM

Quote:

Originally Posted by chas_h
Nevermind, I did a search for the original thread for this hack and it explained how to add a new user field. Works great, thanks.

I forgot a step on that didn't I? Sorry folks, if you do a search for the vbadvanced weather you'll see the other step needed.

Sorry about that

)O( Cloudrunner )O(

Cloudrunner 04-03-2004 11:18 AM

Quote:

Originally Posted by chet
I have been over there and there are no postings related to custom blocks
Where do I find information on how to do this

Regards

Chet

It's actually not too hard, first there are six already available to you, just go to you vbindex options, tell the system how many you want to use, then choose which ones you want to use. (i.e. I want three custom blocks, so I tell the system 3, then I can choose either custom blocks 1, 2, or 3, 4, 5, and 6 won't show until I tell the system to use that many.)

Then go to the associated custom block template and adjust your HTML code there.

To add more than that, just go into your vbindex.php and have it preload the next custom block number, and then in your templates add a new custom block with the next highest number and then copy the code from another custom code original and yer good to go.

I have over simplified this, let me know if you don follow.

)O( Cloudrunner )O(

chet 04-03-2004 11:29 AM

Quote:

Originally Posted by Cloudrunner
It's actually not too hard, first there are six already available to you, just go to you vbindex options, tell the system how many you want to use, then choose which ones you want to use. (i.e. I want three custom blocks, so I tell the system 3, then I can choose either custom blocks 1, 2, or 3, 4, 5, and 6 won't show until I tell the system to use that many.)

Then go to the associated custom block template and adjust your HTML code there.

To add more than that, just go into your vbindex.php and have it preload the next custom block number, and then in your templates add a new custom block with the next highest number and then copy the code from another custom code original and yer good to go.

I have over simplified this, let me know if you don follow.

)O( Cloudrunner )O(

I created a custom block 1, where do I go to edit that block? sorry if its a dumb question but I'm a complete noob

Regards

Chet

chet 04-03-2004 11:49 AM

its OK I have now found it

Thanks

Chet

pcalloway 04-03-2004 02:37 PM

Are there any size constraints that would limit how much code could be in a vbindex custom block? I'm doing "On this Date..." quote system for my website and I'm going to have to have a paragraph or so of text for every day of the year.

I'm doing it in html and not pulling it from a database.. not much of a programmer.

www.authentic-campaigner.com

gmarik 04-03-2004 03:52 PM

What custom blocks are you planning to add in the future as an option? Maybe something like vb portal affiliate box?

NTLDR 04-03-2004 04:13 PM

Quote:

Originally Posted by AlexanderT
So are 1) and 2) both related to bugs in the install/uninstall script or am I doing something wrong? If they are bug-related, I am kinda hesitant to use the installer script at all on my live-system (who knows what other bugs are in there). In this case, perhaps someone can explain how to manually upgrade vBi instead?

You should have vbindex_*__3.0.0_RC5 templates listed for all those templates you had previously customised. There was a minor bug in the uninstaller that ment only one vBindex template would get deleted.

Edit line 195 of vbiupgrade.php and replace:

PHP Code:

WHERE title like LCASE('vbindex'

With:

PHP Code:

WHERE title like LCASE('vbindex%'


NTLDR 04-03-2004 04:19 PM

Quote:

Originally Posted by pcalloway
Are there any size constraints that would limit how much code could be in a vbindex custom block? I'm doing "On this Date..." quote system for my website and I'm going to have to have a paragraph or so of text for every day of the year.

You can have 16777215 (2^24 - 1) characters in any custom block or any other vBulletin template.

NTLDR 04-03-2004 04:20 PM

Quote:

Originally Posted by gmarik
What custom blocks are you planning to add in the future as an option? Maybe something like vb portal affiliate box?

None currently, although I'm sure more options and features will be added to them. At the moment its possible for users to easily add content to them due to the dynamic nature introduced in vBindex 3.0.0 RC4.

Bulent Tekcan 04-03-2004 06:27 PM

Quote:

Originally Posted by turkeyforum
How can I uninstall this hack ? Also when I upgrade my board any problem future ?

Because add everywhere a lot of style and phrases.

Can I unistall this hack ???


Any comment ???

snyx 04-03-2004 09:46 PM

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?

killervette 04-03-2004 10:34 PM

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>");

//++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++ +++++++++++++++++++

NTLDR 04-04-2004 06:04 PM

Quote:

Originally Posted by snyx
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?

vBindex uses a different navbar template (vbindex_navbar) if you have edited the standard vB one you need to edit this too. The blue should be one of the vB Menu CSS classes towards the bottom.

weaver 04-05-2004 12:02 AM

Quote:

The new style only works with vBindex 3.0.0 RC4 and above, if you have an older version you can copy the edited calendar_ and vbindex_calendar templates from the vbindex_templates.xml file.

If your using RC4/5 and it doesn't appear like that then the templates will be listed as templatename__3.0.0_RCX in the ACP for you to update your customised ones from.
I had the same issue with previously customized templates. What do I do with the template included with this install? Do I copy and paste the code into my customized templates?

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.

neocorteqz 04-05-2004 03:34 AM

Quote:

Originally Posted by chas_h
The code works fine, and makes the weather block but when you click on it you are taken to the user CP to add your zip code and I don't see a place for that. Any ideas?

Thanks.

For those who do want to know though. pretty simple, just make a new custom userfield (Either in options, really any place you want though), and in the code wherever it says $bbuserinfo[field5], change the code to whatever the relevent field number is (ie mine is field8). i even made this part of the registration option so they may imput it at registration. Hidden from viewing though. :0

NTLDR 04-05-2004 08:16 AM

Quote:

Originally Posted by snobbymom
I had the same issue with previously customized templates. What do I do with the template included with this install? Do I copy and paste the code into my customized templates?

You should overwrite or compare the default vBindex ones with your customised ones to make sure all the features are avalible to you.

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.
If it happens in the ACP too then its probably some problem with vBulletin itself.

AlexanderT 04-05-2004 10:30 AM

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).

D|ver 04-05-2004 10:38 AM

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 :)


All times are GMT. The time now is 09: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.02808 seconds
  • Memory Usage 1,919KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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