PhillipH
Forum Replies Created
-
Forum: Plugins
In reply to: grins xhtml 1.0 trans not compliantGreat, thanks J2000, that worked a treat 🙂
Forum: Plugins
In reply to: grins xhtml 1.0 trans not compliantbtw its the &’s in here it doesnt appear to like :
if (document.getElementById(‘content’) && document.getElementById(‘content’).type == ‘textarea’) {
myField = document.getElementById(‘content’);
}
else if (document.getElementById(‘comment’) && document.getElementById(‘comment’).type == ‘textarea’) {
myField = document.getElementById(‘comment’);Forum: Plugins
In reply to: grins xhtml 1.0 trans not compliantthanks yup, got that error out. i also had to add in a /> to close a tag too. Only ones to get rid of now are :
Line 122, column 40: character “&” is the first character of a delimiter but occurred as data
any ideas? thanks.
Forum: Fixing WordPress
In reply to: font size in comments textareaif i put the code into the style.css it doesnt work, if i put it into the header section of index.php it works. Thats odd thou.
Forum: Fixing WordPress
In reply to: font size in comments textareahm strange , it only worked when i put the style direct into the index.php file.
Forum: Fixing WordPress
In reply to: font size in comments textareahm nope didnt work 🙁
Forum: Fixing WordPress
In reply to: how do i show the code in posts?Great plugin, i have it on my site already 🙂
Forum: Fixing WordPress
In reply to: Display User Name on Front Pagehere you go. i just created this code now (php is starting to look easier :P)
<?php get_currentuserinfo();
if ( $user_nickname<> "" ) { ?>
<p class="credit">Welcome <?php echo $user_nickname ?>, To The Programmers Forum
<?php } else { ?>
<p class="credit">Welcome Guest, To The Programmers Forum
<?php } ?>
i put that in my index page, you can see it working at the top of the page at http://www.theprogrammersforum.com
Forum: Everything else WordPress
In reply to: Recommend a host for my bloghttp://www.liquenox.net is cheap and so easy to use.
Forum: Themes and Templates
In reply to: (X)HTML EditorsPSPad and Topstyle are perfect. It is one certainly for XHTML (which will replace HTML eventually).
search on google for PSPad.
Forum: Fixing WordPress
In reply to: Customisation of login/logout/postingok guys i worked it out. If anyone wants a menu like mine then here it is. Edit the main file Index.php and change your menu to :
<?php get_currentuserinfo(); ?><ul>
<li id="other"><ul>
<li><a>/index.php"><?php _e('Home'); ?></a></li>
<?php<br />
if ( $user_nickname== "" ) {<br />
?><li><a>/wp-login.php"><?php _e('Login'); ?></a></li>
<li><a>/wp-register.php"><?php _e('Register'); ?></a></li>
<?php<br />
}<br />
if ( $user_nickname<> "" ) {<br />
?><li><a>/wp-login.php"><?php _e('Post/Edit Article'); ?></a></li>
<li><a>/wp-login.php?action=logout"><?php _e('Logout'); ?></a></li>
<?php<br />
}<br />
?>
</ul>
</li>
Hope you like it. Took me long enough. I guess it was about time i learned some php 🙂hm ok i cant post this properly. if anyone wants the code then please mail me at philliph@theprogrammersforum.com
Forum: Fixing WordPress
In reply to: Customisation of login/logout/postinganyone able to help with this? i know i have to check if the cookies are on the users machine, but its the code im struggling with (to be put in the index file)
Forum: Fixing WordPress
In reply to: Customisation of login/logout/postingok i figured out the logout with no problem, but im struggling with checking whether they are logged in/out in the index file – so i can show/hide particular menu choices. Any clues? 🙂
Forum: Fixing WordPress
In reply to: No commentsthanks, ill add most of those i think. Ive also set the option that the comment gets posted auto. That way they can see its been sent, i will monitor spam use and implement more measures if needed.
Forum: Fixing WordPress
In reply to: No commentsomfg im an idiot. theres 20 🙁 LOL please dont yell….
ok i didnt know it was there 🙁
saying that, i think something should say its been sent? ill add something in for that 🙂