Search Results for 'code'
-
Search Results
-
My first bbPress Template:
http://www.borderline-hacks.at/borderline-hacks-forum/
The image of it:
http://www.weirdtherapy.com/images/borderline-green-01-shot.jpg
If you want to download it to (change and) use it, you can do so here:
http://www.weirdtherapy.com/zip/borderline-green-ads-01.zip
There is (commented) space where you may place ads, I added the psd file for the logo, and the text in the header is random (to be truth I only added it because I couldn’t think of anythink else and I wanted it to be finished
) and easy editable(… i think / hope). There is also a seperate ie.css for the internet explorer.
Two of the ads would be shown on every page because they are in the header – I only ad this information cause I think I read somethink in the forum here that there might occur problems with google .. well something like that – so keep that in mind pls.
grretings
Topic: Not Resolved by Default
I’ve been looking for a way to start off topics as “Not Resolved” by default, with no luck. Went through all the template files looking for the
<select>
also to no avail. Any ideas how to accomplish this? (Also, searched the forums). Thanks for any help.Well, I am trying to ad an adminpage to bbPortal. I am quite far, got the admin page, it checks the db for the table bb_portal and if it doesntexcsits, it creates the table.
Also the form is working (the looks anyway), but how do I get the forum id from <?php forum_dropdown(); ?> cause it gives the name only. And I want it that when people select the forumname using this ddlb the forum id will be written to
pforum_id
when pressing submit.Sec problem; people can fill in a number for the Number of topics on the portal in an input field, but now comes the noob question:
How the hell do I update this input to the db?
This is my form for now:
<form action="<?php echo $bb->domain. $_SERVER['REQUEST_URI']; ?>" method="post">
<?php do_action('portal_option_form_elements',''); ?>
<h3><?php _e('Portal settings'); ?></h3>
<table>
<tr><th scope="row"><?php _e('Where do you want to pull the topics from?'); ?></th>
<td><?php forum_dropdown(); ?></td>
</tr>
<tr><th scope="row"><?php _e('Number of topics on the portal:'); ?></th>
<td><input type="text" name="number-of-topics" id="number-of-topics" /></td>
</tr>
</table>
<p class="submit alignleft"><input type="submit" value="Submit" name="submit">
</form>
And this is the table where the info must be put in:
Table name: $bbdb->portal
pforum_id int(10) NOT NULL,
number_of_topics int(10) NOT NULL
Hope you guys can help me
Topic: Weird permalink problem..
Since I moved my domain name back onto Dreamhost.com, the “Options +MultiViews” line in the .htaccess file works partly, but not fully for ALL the links..
When adding that line, the memberlist and pm links work, but, when clicking on a username, or forum link, I get the old “No input file specified” message.. ?
Now, when I use the rewrite rules from bb-admin/rewrite.php or whatever.. upload that to the forum’s root, then the memberlist and pm links don’t work.. >_<
Does anyone have a clue, or work around for this maybe? Like, maybe adding a few lines in the bb-admin/rewrite.php verion of the .htaccess, just for those plugin links? Any thoughts, suggestions and such are welcome..
spencerp