vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Name as external link (https://vborg.vbsupport.ru/showthread.php?t=43785)

zeedy2k 09-21-2002 12:47 PM

Forum Name as external link
 
I would like a hack that when I add a forum, instead of it going into forumdisplay.php and showing topics, it takes you to an external link that would be inputted when creating the forum.

Just like Make thread an external link hack.

Any help would be appreciated.

www.ukmessenger.com

Neo-Storm 09-21-2002 03:03 PM

that is easy to do, just add in the name: </a><a href="yoururl">Name of the site</a>

Than you don't add an description and it works :)

gopherhockey 02-07-2003 04:26 PM

Is there a way to take this one step further and have vB NOT display the last post date or post numbers for a forum set as an external link?

For example, I have photopost set up as a forum & external link. However, this leaves "Never" in the last post column, and 0's in the others - users might think there is nothing in there.

I'd rather it not show those numbers and text at all...

Something like the code below out of index.php (but this gives an error) and also apply it to the counts as well. ?

Code:

    // dates
        if ($forum['lastpost']>0) {
          $forum['lastpostdate']=vbdate($dateformat,$forum['lastpost']);
          $forum['lastposttime']=vbdate($timeformat,$forum['lastpost']);
          eval("\$forum['lastpostinfo'] = \"".gettemplate('forumhome_lastpostby')."\";");

    elseif ($forumid == 46) {
        $forum['lastpostinfo']='N/A';
        } else {
          $forum['lastpostinfo']='Never'; 
        }


Erwin 02-07-2003 09:52 PM

If you want that, there is hack out in Full Releases that can do this.

Go search for it. :)

gopherhockey 02-07-2003 10:57 PM

Hmmm.. already did that. Guess I didn't use the right search words. Will try again.


All times are GMT. The time now is 05:14 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.00948 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete