how i would modify my theme to look like something like this when user has submitted an article, instead of:
Code:
Anonymous writes
i want it to look like:
Code:
Submitted by Anonymous
here is my code:
Code:
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
The first $content gets the news author name. After "else" the 2nd $content shows the word "Anonymous". The 3rd $content shows this:
"._WRITES." = shows what is in the language file with the corresponding name.
$thetext = shows the text of the news article
$notes = shows any notes the admin may have put.
To get "Submitted by Anonymous", you will need to change all of the 3 $contents. The code below would get your desired results:
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
blake_ph Nuke Soldier
Joined: Aug 18, 2003
Posts: 11
Posted:
Wed May 31, 2006 4:16 am
thanks for the reply guys!
but i would like also to do the same for the registered users?
for example,
Code:
Username writes
into
Code:
Submitted by Username
thanks!
spottedhog Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Wed May 31, 2006 9:49 am
Stretch your capabilities and try to make changes based upon what code I previously gave you. All the info you need is right there..... Take a chance and try to make it work.....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum