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(


All times are GMT. The time now is 06:29 PM.

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.04572 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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