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)
-   -   Thread Introductions (https://vborg.vbsupport.ru/showthread.php?t=38297)

Boofo 05-18-2002 01:50 AM

The above doesn't work. Did I get what? :)

BTW: Is there anyway that your hack can edit the threadintro if there is one and if there isn't one, just edit the default one ($thread[title]) and make that one into a threadintro. That way there will always be a intro at the top of the page whether it is edited or not? Do you understand what I mean? Like they have here on the thread headers where it is different form the original one. Can you do it? :)

N!ck 05-18-2002 05:35 AM

all they do is use multiple instances of $forum[title]

can you please be more specific as to any error messages you are getting, etc.?

Boofo 05-18-2002 05:55 AM

I see what you are saying about multiple instances now. I wonder why I didn't think of that. :)

The errors I got on the Admin Options box after I applied your code was that it would say the page was done loading and be a blank screen. It kept pulling up the postings.php when it tried to run.

While I have you here, I am tring to do a forum header like it did the thraed header but I am running into problems with the table messing it up. Do you know a way around that? I tried to do it just like the thread intro but the table is completely different in the forum header.

N!ck 05-18-2002 06:07 AM

okay, please post the url that appears in the browser window after choosing an option

as for the header, you shouldn't need to do any more tables, just to <p><font size="SIZE YOU WANT">$thread[title]</font><p> somewhere up there

N!ck 05-18-2002 06:10 AM

try this:

Code:

<table cellpadding="0" cellspacing="0" border="0">
<form action="postings.php" method="get"><tr><td>
        <smallfont>
        <input type="hidden" name="s" value="$session[dbsessionhash]">
        <input type="hidden" name="threadid" value="$threadid">
        <b>Admin Options:</b><br>
        <select name="action"
        onchange="window.location=this.options[this.selectedIndex].value">
                <option value="postings.php?action=editthread" selected>-- Thread Options --</option>
                <option value="postings.php?action=openclosethread">Open / Close Thread</option>
                <option value="postings.php?action=movecopythread">Move / Copy Thread</option>
                <option value="postings.php?action=editthread">Edit Thread</option>
                <option value="postings.php?action=deletethread">Delete Thread / Posts</option>
                <option value="postings.php?action=merge">Merge Threads</option>
                <option value="postings.php?action=split">Split Thread</option>
                <option value="postings.php?action=stick">Stick / Unstick Thread</option>
                <option value="threadintro.php">Thread Introduction</option>
        </select>$gobutton
        </smallfont>
</td></tr></form>
</table>


Boofo 05-18-2002 06:11 AM

I tried that but they have a table that goes up and down on the left side in the thread header area so when I put that code it, it never centers. :)

N!ck 05-18-2002 06:14 AM

honestly i dont know then...i've never tried that

Boofo 05-18-2002 06:17 AM

Here's the error I get when I pick anything but thread intro:

No thread specified. If you followed a valid link, please notify the Webmaster

When I pick thread intro it kicks me back to the main forum page.

Could it have something to do with the form action at the top of the code? :)

N!ck 05-18-2002 06:20 AM

try:

Code:

<table cellpadding="0" cellspacing="0" border="0">
<form><tr><td>
        <smallfont>
        <b>Admin Options:</b><br>
        <select name="action"
        onchange="window.location=(this.options[this.selectedIndex].value+'&s=$session[dbsessionhash]&threadid=$thread[threadid]')">
                <option value="postings.php?action=editthread" selected>-- Thread Options --</option>
                <option value="postings.php?action=openclosethread">Open / Close Thread</option>
                <option value="postings.php?action=movecopythread">Move / Copy Thread</option>
                <option value="postings.php?action=editthread">Edit Thread</option>
                <option value="postings.php?action=deletethread">Delete Thread / Posts</option>
                <option value="postings.php?action=merge">Merge Threads</option>
                <option value="postings.php?action=split">Split Thread</option>
                <option value="postings.php?action=stick">Stick / Unstick Thread</option>
                <option value="threadintro.php?">Thread Introduction</option>
        </select>$gobutton
        </smallfont>
</td></tr></form>
</table>


Boofo 05-18-2002 06:24 AM

Sorry, same results... I guess your guinnea pig is letting you down. :)


All times are GMT. The time now is 10:16 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.01199 seconds
  • Memory Usage 1,742KB
  • 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)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