Search Results for 'code'
-
Search Results
-
Topic: Future of bbPress
So I totally hacked up my htaccess file and now when I visit a nonexistant url it goes to the apache 404 page instead of the bbpress 404.. how do I need to change the code below to fix that?
# BEGIN bbPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /community
Options +FollowSymlinks +MultiViews
RewriteRule ^forums$ forums/ [R=301]
RewriteRule ^forums/$ /community/index.php?view=forums [P,L,QSA]
RewriteRule ^leaderboards$ leaderboards/ [R=301]
RewriteRule ^leaderboards/$ /community/index.php?view=leaderboards [P,L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]
RewriteRule ^rss/?$ rss.php [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]
RewriteRule ^forums/([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
RewriteRule ^forums/([^/]+)/([^/]+)/?$ topic.php?id=$2 [L,QSA]
RewriteRule ^forums/([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forums/([^/]+)/?$ forum.php?id=$1 [L,QSA]
</IfModule>
# END bbPress
Topic: Color of text.
When I change the font color to “ffffff” in the code below, it does not apply it to all the text on the top of the page for registration/login etc. It only changes “welcome” and the rest like “admin”, “logout”, “register” and “lost password” are still the same. Where is the color of these fonts (all the text having to do with login, logout, forgot password, logout etc.) controlled in the CSS?
.login {
position: absolute;
bottom: 31px;
left: 0;
font-weight: normal;
color: #ffffff;
width: 100%;
z-index: 1;
font-size: 12px;
}Thank you.
In CSS I use /*………*/ for a few lines of code or ……..// for just a line so that code is skipped or avoided. Will this work in a .php file also? I would like to skip code to test it out without deleting the original code. Just want to mask the original code so I can go back to it if I make a mistake.
Thank you.