Search Results for 'code'
-
AuthorSearch Results
-
November 28, 2007 at 11:08 pm #61783
In reply to: Forum WIthin WordPress
chrishajer
ParticipantI think you might be better off with a WordPress plugin then, if you really want them always in WordPress.
November 28, 2007 at 6:31 pm #61736Trent Adams
MemberThe regular uses still have the option to post in the hidden forum and get the error or on all forums? Not quite sure the exact problem. Could you explain a little more for us people that need to be explained things like we are 5 years old?
For example, what plugin are you using. What exactly do you see versus the regular users, etc.Trent
November 28, 2007 at 6:14 pm #61778In reply to: Forum keeps going back to wordpress
Trent Adams
MemberGood deal

Trent
November 28, 2007 at 6:02 pm #61774In reply to: Forum keeps going back to wordpress
Trent Adams
MemberFrom the FAQ:
Create a file called .htaccess in bbPress’ root directory. Put only the following line in that new file.
Options +MultiViewsJust upload a file like htaccess.txt with the line mentioned above and then use the FTP program to name it to .htaccess versus htaccess.txt (notice the dot before name).
WordPress is just thinking right now that you have a URL that doesn’t have an assigned page or post to it and it is getting screwed up! Try that one out!
Trent
November 28, 2007 at 3:59 pm #61765In reply to: forum underconstruction page
Null
MemberI was thinking of a check in the header, since this is always loaded. If maintenance is true -> load maintenance page, else load forum. Very simple to do (if there is an hook in the header.php) . I’ll try to cook something up

_Null
November 28, 2007 at 3:56 pm #53059In reply to: Plugin: Private Forums v 2.1
Null
MemberThink those 2 plugins use the same “values” in the forms. …. no, value is the wrong word, they use the same names in the code (ok sounds vague I know
) or the forms have the same name.You could check this in the code and if this is the case rename the doubles in 1 form…
_Null
November 28, 2007 at 2:15 pm #53058In reply to: Plugin: Private Forums v 2.1
citizenkeith
ParticipantI installed the Restrict Registration for bbPress plugin. Every time I make a change to restrictions in the admin panel, all my Private Forums are reset to “Open to All.”
Not sure where the problem lies (I assume with the restriction plugin), but thought I’d post it here just in case.
November 28, 2007 at 9:57 am #61757eeeblog
MemberHi !!
You were right again!

I have the line
$bb->mod_rewrite = ‘false’;
I forgot to delete the ‘
Now everything works PERFECT!!!
Thank you so much!!
Best regards fromo Spain!
Andres
November 28, 2007 at 8:35 am #61763In reply to: forum underconstruction page
Null
MemberThanks, gonna take a look at it. Perhaps it’s easy to convert
fel64
MemberNope. Whenever I figure it out.
Feel free to be pushy. I’m still doing it for myself.

At the same time, I do run my own site on bbsync so I am inclined to get it fixed as soon as I can.
November 27, 2007 at 10:37 pm #61585In reply to: How Do I Do This?
chgogrrl99
MemberYes, remember I was going to try to have a list of the cities so people could just click on say “Miami” and then be taken directly to the “Miami” part of the page? Well, livibetter’s code created a list of all the cities and took them directly to the sub-forum for each city. If I create a link on the main WP Page for the Chicago board using an address like http://theangrywaiter.com/forum/forum.php?id=2
it also takes them directly to the sub-forum. I didn’t really like that, so I figure I’ll just offer one link from the main WP site to the forums and let the visitor scroll past the other cities until they find their’s.
It might actually be better because then they can see the other cities and more easily go and read posts in those cities as well as in their own city.
Oh, and if they go to a sub-forum they can enter a post outside of the child forums. I tried to comment that comment form out, but it took them out of all the forums as well. So, now I think it was all a waist of time, but at least I learned something.
November 27, 2007 at 10:27 pm #61584In reply to: How Do I Do This?
chrishajer
Participanttable ids, yes, the code from livibetter would need a tiny modification to create unique ids for each table.

And for the anchoring, do you mean something like a list up top on the page, then each of those link further down the page to a named anchor? Like this?
http://www.vestacompanies.com/properties/
(click a for sale or for rent category and it just scrolls down the page a little bit to the proper table)
November 27, 2007 at 10:22 pm #61754chrishajer
ParticipantIn your config.php, make sure your “mod_rewrite” line says false:
$bb->mod_rewrite = false;Permalinks are not supported on your host, at least not right now. Change that line to false (maybe you have slugs or true there now?) and it should work fine.
If things work like that, you can figure out the proper mod_rewrite rules for your .htaccess file.
BTW – those are not real folders, they’re just URLs created by bbPress that look like folders. They won’t be in the filesystem.
November 27, 2007 at 10:04 pm #61697In reply to: Plugin request: Announcements forum
Null
MemberI need something like this too. Trying to make a plugin that does this by hiding that forum from members but only when they want to create a new topic in that forum. This way they can reply, but not create a topic (cause they can’t select it when creating a topic cause it is invisible for them).
Still working on a few issues, but theoraticly it should work
November 27, 2007 at 9:36 pm #61583In reply to: How Do I Do This?
chgogrrl99
MemberI changed the title to alt=
As far as the table ids…are you talking about the code I got from Livibetter?
And about anchoring each forum?
After all that work (by you guys, not so much me) I took that out and decided to just let people scroll down the page. I just think the page looks better and I kind of like that they can see all the other cities.
I know, I’m a pain in the ass.
So, on the front-page.php and the forum.php I see nothing like that anymore, but if I right-click page source when at the actual forums page I see what you mean.
Edit: I see what you mean too when I run it through a valadator
November 27, 2007 at 9:07 pm #61582In reply to: How Do I Do This?
chrishajer
ParticipantOnly 47 posts? Piece of cake.
I did notice, in Firefox 2.0.0.10 the logo is not entirely clickable. Certain parts of it are, if you hit it just right, but not the whole thing. Odd. In IE7, it’s all clickable.
Oh, and I probably told you this incorrectly as well (although not intentionally.) The
<a hrefshould have a <strong>title attribute, not an alt attribute. The<imgshould have an alt. So<a href="http://www.theangrywaiter.com/" title="go home">and<img src="http://www.theangrywaiter.com/forum/bb-templates/awbbtheme/images/awforumlogo3.jpg" alt="the angry waiter logo" />Sorry about that.
And, to keep your page valid XHTML, you’re going to have to give each forumlist a different ID by appending the name or number of the forum to it. So it would be
<table id="forumlist-chicago">and
<table id="forumlist-atlanta">or
<table id="forumlist-4">and
<table id="forumlist-11">November 27, 2007 at 9:00 pm #61752chrishajer
ParticipantSounds to me like you edited a file (maybe db-mysqli.php) and have a blank line or a space after the closing ?> in the file. PHP doesn’t like that, so it throws that
Warning: Cannot modify header information - headers already sent byerror. Check any file you modified (db-mysqli.php?) for a blank line or space after the closing ?>November 27, 2007 at 7:00 pm #61579In reply to: How Do I Do This?
chrishajer
ParticipantThis needs to be removed. It’s right after the header div in header.php
<img id="headerlogo"That is doing you no good. Actually, my message was a combination of a couple messages. Initially I was going to say give the image an id so you could position it, then I said to just style it with
#header img– in any case, you need to remove the above since it’s not valid and is causing weird things.And you must be working on it since there is no border.
vafaaaan
Memberit was a test plugin .. i tried to understand the db relationships, and i did .. now i know now how to update a post tag .. so there is nothing usable?
ok
November 27, 2007 at 3:27 pm #61575In reply to: How Do I Do This?
chrishajer
ParticipantIn header.php, in the header div (where the login_form() is) put this:
<img id=”headerlogo” src=”http://www.theangrywaiter.com/wordpress/wp-content/uploads/awbanner.jpg” alt=”The Angry Waiter” />
Right now though, the image is taller than the header div (the header is 106px, the image is 131px, I think.)
So, to make it all work, you’ll need to make the header div taller, or the image less tall. Then you’ll need to apply some styling to the image you just placed in the header. Something like this:
#header img {
whatever: here;
}That just gets the image into the header. Then you need to wrap an
<a href="http://www.theangrywaiter.com/" alt="go home"></a>around that image tag you just added, to link the image to the destination.November 27, 2007 at 1:54 pm #61725In reply to: Plugin: Enhanced Registration
vafaaaan
MemberApplause
November 27, 2007 at 1:33 pm #61724In reply to: Plugin: Enhanced Registration
livibetter
MemberFix: #7 – Empty input to foreach.
Add: #8 – Auto-delete unactivated users.
Add: (hourly, daily or not) Mail reports, which includes what ID and user_login have been deleted.
Auto-deletion is executed every 60mins.
November 27, 2007 at 6:15 am #61573In reply to: How Do I Do This?
chrishajer
ParticipantIntegration doesn’t matter at all if you’re just linking one to the other, they’re just simple html links. You can link anything to anywhere, no integration required.
Not sure what you mean about “on top of” – the new logo is a background image over to the bottom/right of the header div. The problem with making it a background image, rather than just an image in your code, is that to make it clickable back to the main site, you’d have to make the whole header a link back to the main site. If you look at the source for the page, you’ll see there is no img tag for awforumlogo2.jpg that you can wrap in an
<a href="tag to link back to the main site. I don’t think you want that image as a background image for the header if you’re going to make a link out of it.I would remove the background image from your style.css and put the img tag in header.php somewhere in the
<div id="header">section (around line 34 in a stock installation).Once you have an image in header.php, you can work on positioning it where you want it and linking it to what you want as well. Then you can figure out where you want your forum title as well.
November 27, 2007 at 6:00 am #61044In reply to: GlamRock.com
chrishajer
ParticipantI kinda like it. The colors aren’t my bag, but neither is glam rock

I would add some padding to the bottom, to get the black on the blog or the white in the forum to extent below the bottom of the content a little bit, to “frame” it.
I think the padding would be added to the #main div on the forum. In the blog, I’m not sure since it’s a table layout.
Otherwise looks like a nice forum, lots of activity. Nice job.
November 27, 2007 at 4:46 am #61723In reply to: Plugin: Enhanced Registration
Trent Adams
MemberWicked stuff on your google code page! Bookmarked! Many great plugins for bbPress and WP!
Trent
-
AuthorSearch Results