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)
-   -   Admins creates threads which are actually links (https://vborg.vbsupport.ru/showthread.php?t=36891)

amykhar 04-11-2002 03:11 PM

Chen,
Could a template be created that consists of two frames. The top frame would be a frame for a link back to our board. The bottom frame would be the external page that we linked to. Then, instead of calling the refresh to the new page, your hack would refresh to a script that took the link as a parameter, and then displayed the framed page template?

Sorry if that is confusing.
Amy

TECK 04-11-2002 03:55 PM

this is a great idea. specially for a VB powered frontpage. you could use an invisible forum and grab the list of threads with a query.
thanks firefly for this cool hack. :)

-=dm=- 04-11-2002 04:02 PM

FireFly you da king!!

thanx :)

amykhar 04-11-2002 06:30 PM

Never mind, Chen. I got it. :D

Amy

Smoothie 04-12-2002 02:47 AM

Great hack this is. I'm using it together with c-prOmpt's excellent hack
Thanks again FireFly.

Parker Clack 04-12-2002 09:24 PM

Chen:

I added the ability to Edit the Title of the link too using

$thread['deletelink'] = "<br>( <a href=\"postings.php?s=$session[sessionhash]&action=deletethread&threadid=$thread[threadid]\"> Delete</a> | <a href=\"postings.php?s=$session[sessionhash]&action=stick&threadid=$thread[threadid]\">Stick | Unstick</a> | <a href=\"postings.php?s=$session[sessionhash]&action=editthread&threadid=$thread[threadid]\"> Edit Title</a> )";

Is there anyway to write this so that when you do post a new thread and use the title to go to a different url where it goes back to the original thread (when you first post it) instead of going to the new link?

Parker

kippesp 04-13-2002 02:19 AM

Quote:

Originally posted by Parker Clack
Is there anyway to write this so that when you do post a new thread and use the title to go to a different url where it goes back to the original thread (when you first post it) instead of going to the new link?
In file newthread.php, find:
} elseif ($visible) {
and replace with:
} elseif ($visible and $link=='') {

Parker Clack 04-13-2002 03:42 AM

kippesp:

Thanks. I tried that before but I guess I put it in wrong. It is working great now.

Parker

Ghostsuit 04-16-2002 11:18 AM

The ability to make the link a stick would be great. Is that planed?

!!!cyr0n_k0r 04-20-2002 05:41 PM

you have horriable install instructions for n00bs.

a readme laying out the steps would really be nice.


All times are GMT. The time now is 12:49 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.01062 seconds
  • Memory Usage 1,734KB
  • 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_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