Search Results for 'code'
-
Search Results
-
(scroll down to find bold part of code, please explain what is that?)
<form id="postform" class="postform" action="/forums/bb-post.php" method="post" name="postform">
<p>
<label for="topic">
Topic title: (be brief and descriptive)
<input id="topic" type="text" tabindex="1" maxlength="80" size="50" name="topic"/>
</label>
</p>
<p>
<label for="post_content">
Post:
<textarea id="post_content" tabindex="3" rows="8" cols="50" name="post_content"/>
</label>
</p>
<p>
<label for="tags">
Enter a few words (called
<a href="/forums/tags.php">tags</a>
) separated by spaces to help someone find your topic:
<input type="text" tabindex="4" value=" " maxlength="100" size="50" name="tags"/>
</label>
</p>
<p>
<label for="forum_id">
Pick a section:
<select id="forum_id" tabindex="5" name="forum_id">
</select>
</label>
</p>
<p class="submit">
<input id="postformsub" type="submit" tabindex="4" value="Send Post ยป" name="Submit"/>
</p>
<p>
Allowed markup:
<code>a em strong code ul ol li blockquote</code>
.
<br/>
Put code in between
<code>backticks
</code>
.
</p>
<strong><input type="hidden" value="XXXXXX" name="_wpnonce"/></strong>
<input type="hidden" value="/forums/" name="_wp_http_referer"/>
</form>
my bbpress is integrated with my wordpress. the 2 required plugins, and adding
<require_once('../wp-blog-header.php');
in my config file so i could use my wordpress theme as my bbpress template. ok, so everything was file. now i tested it’s functions.
i tried to make a test topic as sticky. apparently i can’t use sticky as long as the above code (require once etc) was in the config. i removed it and i could do as normal.
so now i ask: i wnat to keep my wordpress theme as the bbpress template, unless i use that line i can’t… that line is not allowing me to sticky/unsticky. anyway this was the error msg i got.
Warning: main(../wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/gray/domains/unlimitedinfinity.com/public_html/forums/config.php on line 57
Fatal error: main() [function.require]: Failed opening required '../wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /home/gray/domains/unlimitedinfinity.com/public_html/forums/config.php on line 57
Edit: another error, seems i can’t access my ./bb-admin/ when the above integration is active.