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)

Jeremy W. 06-05-2002 12:29 AM

I've installed it (no problems with the install), but ... well, it hasn't changed anything...

I mean, I go to start a new thread and there isn't any box. Am I dense or just thick? *L*

Allstar DC 06-05-2002 03:43 AM

Jeremy W. :

Check (post #57) in topic, the fix is posted there

Jeremy W. 06-05-2002 10:21 AM

Great, thanx :)

Birdie501 06-12-2002 12:17 AM

Quote:

Originally posted by FireFly

TheCaver: sure. In forumdisplay.php replace:
Code:

    if (empty($thread['link'])) {
        $thread['link'] = "showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]";
    }

with:
Code:

    if (empty($thread['link'])) {
        $thread['link'] = "showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]";
    } else {
        $thread['link'] .= '" target="_blank';
    }

[/B]
if i put this code to forumdisplay.php i have the following and get a parse error???

PHP Code:

if (empty($thread['link'])) {
        
$thread['link'] = "showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]";
    } else {
        
$thread['link'].= '" target="_blank';
    } else {
        
$thread['link'] = $thread['link'];
        if (
$bbuserinfo['usergroupid'] == 6) {
            
$thread['deletelink'] = "(<a href=\"postings.php?s=$session[sessionhash]&action=deletethread&threadid=$thread[threadid]\">l?schen</a> | <a href=\"postings.php?s=$session[sessionhash]&action=stick&threadid=$thread[threadid]\">fix / unfix</a>)";
        }
    } 

What's the problem?

Dan Flynn 09-28-2002 02:45 AM

I have this installed but get this error. Any ideas?

Thanks

Parse error: parse error, unexpected $ in /home2/powerwas/public_html/showthread.php on line 604

somerfeld 10-03-2002 01:50 AM

can i see some screen shots or something?

Smoothie 10-03-2002 06:38 AM

Screen shots? It looks like a thread link, but when you click it, it takes you to whatever the link is. There's nothing to see.....

Antorz 10-15-2002 01:38 AM

I'm also missing all the content in newthread_linkoption

it's linked from newthread w/ $linkoption

and I did all the changes suggested in post #57 of this thead...

do I have my permission wrong or something? I'm testing it using the admin account, with nothing showing up..

Thanks for any help

Mono 11-02-2002 04:34 AM

I installed this hack and it gave me a bunch of errors so I tried to work my way backwards in the hack but decided to freshly install the phps.

Anyway now my thread links link back to the main page and I cant think of how to get them to show the thread anymore :/.

I really need help soon because we have some 3000 plus members and people want to use the board. Any help would be appreciated. Im thinking it has to do with the ALTER TABLE thread ADD link varchar(255) NOT NULL part of the hack because when I go to manuel mode it shows up blank.

Mono 11-02-2002 05:09 AM

Fixed the problem.

-_- it was the forumbits template I forgot to revert .... god I feel like a noob.


All times are GMT. The time now is 05:50 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.01184 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (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