vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Release vB Links 1.0 | vB2bx (https://vborg.vbsupport.ru/showthread.php?t=12815)

Kengan 08-30-2001 12:15 AM

Any demo please ?

MApI 08-30-2001 10:28 AM

Quote:

Any demo please ?
Here and hope early in mine if have help. :p :p :p

byezzz

Kengan 09-09-2001 12:25 PM

After Installed ! I can not see anything on the links.php pages.
blank.

I can not see any files in CP too....... what is the problem ?

SirSteve 09-30-2001 03:52 PM

Quote:

Originally posted by Delhaze
I changed the templates and made them "Custom Templates".
Now when I upgrade VB there is no need to redo everything, apart from the admin part.

I've also made a few other changes that make it more in keeping with the feel of VB itself.

The category select auto jumps, and remembers where you have jumped to. (code taked from VB itself)

Also made the buttons the default "Go" ones from VB.

Added a "New Link" button

Changed the tables to look more VB like.

You can have a look at http://www.ckcsforums.com/links.php

If any of you want the changes needed for the Auto Jump/Remember here it is:

about line 81 find:

PHP Code:

//################### Kategorien < ################### 
$links_categorys $DB_site->query("SELECT vb_links_category.* FROM vb_links_category ORDER by sortorder");
    
while (
$link_category $DB_site->fetch_array($links_categorys))
    {

        
    eval(
"\$links_category .= \"".gettemplate("links_category")."\";");
    } 

replace with:

PHP Code:

//################### Kategorien < ################### 
$links_categorys $DB_site->query("SELECT vb_links_category.* FROM vb_links_category ORDER by sortorder");
    
while (
$link_category $DB_site->fetch_array($links_categorys))
    {
     if (
$link_category[id]==$category) {
        
$optionselected='selected';
    } else {
        
$optionselected='';
    }    
    eval(
"\$links_category .= \"".gettemplate("links_category")."\";");
    } 

change the "links_category" template to:

Code:

<option value="$link_category[id]" $optionselected>$link_category[name]</option>
change the following in the "links template"

Code:

<select name="category">
to:

Code:

<select name="category" onchange="window.location=('links.php?funktion=bereich&category='+this.options[this.selectedIndex].value)">
enjoy! :D

I really like the changes. Can you send the code so I can make mine as nice as yours?

:)

SirSteve 09-30-2001 03:53 PM

A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?

PogeR 09-30-2001 05:09 PM

Quote:

Originally posted by DevilsMania.com
the first ZIP file (post 1) is NOT COMPLETE, there are missing texts in tsome of the templates, so when you install it you have some problems not seeying something

could you please post all the templates, with the right texts to put inside ?

thanks
(all the tempates)

thats my prob too!!!!....i missing some templates!!!...i cant see anything about categorys, but i made some!!:confused:

YourHostSucks 09-30-2001 07:23 PM

I installed it just fine, but ti does not seem to use my forums
colors, yet it uses its own..
anyone know what files to edit to get it to look like the forums
defaults?

Seems to be working.. will test more and get back with you :-)
I like this thou..

YourHostSucks 09-30-2001 08:00 PM

Well I already started by fixing the admin CP look of the links,

I am sure eveyone knows how to do this, but I will post what i did just incase...

PHP Code:

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("vB Links"); ?>
</table>
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a>|
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>|
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=offline"> Approve </a>
</td></tr>

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("vB Links Category's"); ?>
</table>
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=addcat"> Add </a>|
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=modifycat"> Modify </a>|
<a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=ordercat"> Arrange </a>
</td></tr>

<tr><td><hr></td></tr>

I added this above

PHP Code:

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("Announcements"); ?>
</table>
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add" class="newa"> Add </a> |
<a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>


afterlab 10-01-2001 12:21 AM

Quote:

Originally posted by SirSteve
A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?
I need help with this too.. Can anyone do this?

Delhaze 10-01-2001 01:13 AM

Quote:

Originally posted by SirSteve
A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?
Look in online.php:

Around the 200 lines mark your see lots of "case" statements

You need to add something like this:

PHP Code:

    case 'links':
      
$userinfo[where] = "Viewing the <a href='links.php?s=$session[sessionhash]'>Links</a>";
      break; 

Also around the 500 lines mark you see more "case" statements

You need to add something like this:

PHP Code:

  case 'links.php':
    
$userinfo[activity] = 'links';
    break; 



All times are GMT. The time now is 11:49 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.01416 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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