vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Fetch Post help! (https://vborg.vbsupport.ru/showthread.php?t=225819)

MarkFoster 10-23-2009 01:01 AM

Fetch Post help!
 
1 Attachment(s)
I am in extreme need of creating something that can fetch an post. I have like my own wikipedia for information about certain games but they all go thorugh templates. This is one of those pages. Since we need writers to help us with our pages we need to create something more public instead of admin tempaltes.

I need it to fetch a post instead of what it is now. Is there any way I can do this?
I've attached a few files from a product I own which somebeody made for me, it's using just about the same thing I want. Once again, I own it and I can do what I want with it.

Here is one of the templates called "rwc_singlenews_page" (Here's one of the pages ruled by this template):
HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header

$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
                <td class="thead"><font size="4" face="Verdana">$dateposted - Posted by $thread[postusername]</font></td>
        </tr>
        <tr>
                <td class="alt1"><div class="navbar_notice">                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['threadicon']"><img class="inlineimg" src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></if>
                                <strong>$thread[title]</strong>
                        </div>
                        <hr size="1" style="color:#000000; background-color:#000000" />
                        <!-- / icon and title -->
               

                <!-- message -->
                <div id="post_message_$thread[threadid]">$message</div>
                <!-- / message --></div></td>
        </tr>
        </table>
        <br />


$footer
</body>
</html>

I also added the news.php file in attachments.

MarkFoster 10-24-2009 09:25 AM

bump

MarkFoster 10-26-2009 06:50 AM

Buuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuump. .......................


All times are GMT. The time now is 07:42 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.02336 seconds
  • Memory Usage 1,723KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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