Members abtrenholm Posted March 26, 2007 Members Share Posted March 26, 2007 Good morning everyone! I've started up a blog using WordPress and am having a hard time finding the code that is creating the website name in the top left corner:http://lujesus.earnestlycontending.com/WordPress/ If anyone is willing to help with this, I could e-mail you whatever files are needed. I've been through the style sheet, header, sidebar, index, and I can't seem to find it. I found the code for the font type, and managed to delete that so it's not so obtrusive, but that's all. Any help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Administrators Pastor Matt Posted March 26, 2007 Administrators Share Posted March 26, 2007 Can you post a screen shot so I can see exactly what you are talking about? Also php is a programing language so every php application will have it set up differently. Word press might use a built in php variable to dynamically draw the content out. Edit: I see what you are talking about now and it does look like a php variable. You should find it in the header. Should look something like this {site_desc}. It is probably generated from the site name in your ACP. [attachment=0] The following link will help you understand php variables.http://us3.php.net/language.variables Remember though software like Word Press put the functions in a php file and echo it out in the template. Quote Link to comment Share on other sites More sharing options...
Members abtrenholm Posted March 26, 2007 Author Members Share Posted March 26, 2007 LOL, wish I could understand all of this like you do, Brother Matt. I went through the code in the header again, looking for "site desc" or anything like it, or something that referring to the link for the homepage. Took a while and some trial and error on removing code, but I did it! Thanks so much! :sing: Quote Link to comment Share on other sites More sharing options...
Administrators Pastor Matt Posted March 26, 2007 Administrators Share Posted March 26, 2007 You are welcome. Without looking at the php code I do not know which variable they used so I jsut guessed that it would be something like {site_desc}. Quote Link to comment Share on other sites More sharing options...
Members abtrenholm Posted April 19, 2007 Author Members Share Posted April 19, 2007 Here I go again. This is about phpbb. I have moved the "who's online" table to be at the top of the mb instead of the bottom, but now it is reapeating itself in between all major forum groups!!! If anyone can help, I'd appreciate it. Here's the index_body.tpl that I modified: class="nav">{L_INDEX} Â Â src='templates/noteBored/images/b_TR.gif'> Â Â {LAST_VISIT_DATE} {CURRENT_TIME} href="{U_SEARCH_SELF}" class="notenav">{L_SEARCH_SELF} {L_SEARCH_NEW}{L_SEARCH_UNANSWERED} {L_USERNAME}: Â Â Â {L_PASSWORD}: Â Â Â Â {L_AUTO_LOGIN} Â Â Â src="templates/noteBored/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /> {TOTAL_POSTS} {TOTAL_USERS} />{NEWEST_USER}{TOTAL_USERS_ONLINE} Â [ {L_WHOSONLINE_ADMIN} ] Â [ {L_WHOSONLINE_MOD} ] {RECORD_USERS} {LOGGED_IN_USER_LIST}{L_ONLINE_EXPLAIN} src="templates/noteBored/images/notepostcurlTL.gif" border="0"> href="{catrow.U_VIEWCAT}" class="cattitle"> color="#B63F04">{catrow.CAT_DESC} src="templates/noteBored/images/notepostcurlTR.gif" border="0"> href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"> alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" border="0">Â href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME} border="0"> class="gennote">{catrow.forumrow.FORUM_DESC} class="gennote">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS} Â {L_LASTPOST} {catrow.forumrow.LAST_POST} {L_POSTS} {catrow.forumrow.POSTS}Â Â {L_TOPICS} {catrow.forumrow.TOPICS} src="templates/noteBored/images/notepostcurlBL.gif" border="0">Â src="templates/noteBored/images/notepostcurlBR.gif" border="0">{PAGINATION} alt="{L_NEW_POSTS}"/>{L_NEW_POSTS}Â Â alt="{L_NO_NEW_POSTS}" />{L_NO_NEW_POSTS}Â Â alt="{L_FORUM_LOCKED}" />{L_FORUM_LOCKED} class="gensmall">Â Â Â Â {S_TIMEZONE}Â Â href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ} Quote Link to comment Share on other sites More sharing options...
Members abtrenholm Posted April 19, 2007 Author Members Share Posted April 19, 2007 Never mind... I acatually figured it out.... :sing: Quote Link to comment Share on other sites More sharing options...
Administrators Pastor Matt Posted April 19, 2007 Administrators Share Posted April 19, 2007 Glad you figured it out. As you figured out, all you have to do is move the who's online table to the top. :lol Quote Link to comment Share on other sites More sharing options...
Members abtrenholm Posted April 19, 2007 Author Members Share Posted April 19, 2007 Yeah, but finding exactly between which code to insert it was the tricky part. Remember, I don't dream in php! :lol It's the Noteboard theme. I've decided I do want to have the "who's online on the bottom as well, but I can't make it look like it is in the main table, or even get it in the main table. Here's what I have now: class="nav">{L_INDEX} Â Â src='templates/noteBored/images/b_TR.gif' width="30" height="30"> Â Â {LAST_VISIT_DATE} {CURRENT_TIME} href="{U_SEARCH_SELF}" class="notenav">{L_SEARCH_SELF} {L_SEARCH_NEW}{L_SEARCH_UNANSWERED} {L_USERNAME}: Â Â Â {L_PASSWORD}: Â Â Â Â {L_AUTO_LOGIN} Â Â Â src="templates/noteBored/images/notepostcurlTL.gif" border="0" width="30" height="30"> href="{catrow.U_VIEWCAT}" class="cattitle"> color="#B63F04">{catrow.CAT_DESC} src="templates/noteBored/images/notepostcurlTR.gif" border="0" width="30" height="30"> src="templates/noteBored/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="86" height="44" /> {TOTAL_POSTS} {TOTAL_USERS} />{NEWEST_USER} VUH Homepage Member Location Map Old Christian Radio (click to listen while you browse) REAL PLAYERWINDOWS MEDIA PLAYERMP3 STREAMIMG{TOTAL_USERS_ONLINE} Â Â [ {L_WHOSONLINE_ADMIN} ] Â [ {L_WHOSONLINE_MOD} ] {RECORD_USERS} {LOGGED_IN_USER_LIST} src="templates/noteBored/images/notepostcurlBL.gif" border="0" width="30" height="30">Â src="templates/noteBored/images/notepostcurlBR.gif" border="0" width="30" height="30"> {L_ONLINE_EXPLAIN} src="templates/noteBored/images/notepostcurlTL.gif" border="0" width="30" height="30"> href="{catrow.U_VIEWCAT}" class="cattitle"> color="#B63F04">{catrow.CAT_DESC} src="templates/noteBored/images/notepostcurlTR.gif" border="0" width="30" height="30"> href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"> alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" border="0">Â href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME} border="0"> class="gennote">{catrow.forumrow.FORUM_DESC} class="gennote">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS} Â {L_LASTPOST} {catrow.forumrow.LAST_POST} {L_POSTS} {catrow.forumrow.POSTS}Â Â {L_TOPICS} {catrow.forumrow.TOPICS} src="templates/noteBored/images/notepostcurlBL.gif" border="0" width="30" height="30">Â src="templates/noteBored/images/notepostcurlBR.gif" border="0" width="30" height="30">{PAGINATION}Â {L_ONLINE_EXPLAIN} Â src="templates/noteBored/images/notepostcurlTL.gif" border="0" width="30" height="30">Â src="templates/noteBored/images/notepostcurlTR.gif" border="0" width="30" height="30"> src="templates/noteBored/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="86" height="44" /> {TOTAL_POSTS} {TOTAL_USERS} />{NEWEST_USER}{TOTAL_USERS_ONLINE} Â [ {L_WHOSONLINE_ADMIN} ] Â [ {L_WHOSONLINE_MOD} ] {RECORD_USERS} {LOGGED_IN_USER_LIST}Â alt="{L_NEW_POSTS}" width="60" height="60"/>{L_NEW_POSTS}Â Â alt="{L_NO_NEW_POSTS}" width="60" height="60" />{L_NO_NEW_POSTS}Â Â alt="{L_FORUM_LOCKED}" width="60" height="60" />{L_FORUM_LOCKED} Â Â src="templates/noteBored/images/notepostcurlBL.gif" border="0" width="30" height="30">Â src="templates/noteBored/images/notepostcurlBR.gif" border="0" width="30" height="30">Â Â class="gensmall">Â Â Â Â {S_TIMEZONE}Â Â href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ} Quote Link to comment Share on other sites More sharing options...
Administrators Pastor Matt Posted April 19, 2007 Administrators Share Posted April 19, 2007 Actually it is the .tpl file which is just HTML and not php. Php does not work in HTML files, whereas HTML works in php files. I just took a real fast look at your HTML file and this looks like the code to move up top. nowrap>Â nowrap>Â src="templates/noteBored/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="86" height="44" />{TOTAL_POSTS}{TOTAL_USERS} />{NEWEST_USER} VUH Homepage Member Location Map Old Christian Radio (click to listen while you browse) REAL PLAYERWINDOWS MEDIA PLAYERMP3 STREAMIMG{TOTAL_USERS_ONLINE} Â Â [ {L_WHOSONLINE_ADMIN} ] Â [ {L_WHOSONLINE_MOD} ]{RECORD_USERS}{LOGGED_IN_USER_LIST} It looks like you have all kind of links and other stuff in that table, so just remove what you do not want at the top. If I am way off on what you want can you post a screen shot of how it looks? Quote Link to comment Share on other sites More sharing options...
Members abtrenholm Posted April 19, 2007 Author Members Share Posted April 19, 2007 Yup, I'm confused and I also don't know how to do a screen shot.... Quote Link to comment Share on other sites More sharing options...
Members kevinmiller Posted April 19, 2007 Members Share Posted April 19, 2007 Should be a 'print screen' button on your keyboard. Quote Link to comment Share on other sites More sharing options...
Administrators Pastor Matt Posted April 19, 2007 Administrators Share Posted April 19, 2007 Should be a 'print screen' button on your keyboard. Correct, and then paste it any image software (paint will even work) on your computer. Quote Link to comment Share on other sites More sharing options...
Members kevinmiller Posted April 19, 2007 Members Share Posted April 19, 2007 Forgot about that... On my Mac, when I take a screenshot(which is a combination of three keys) it automatically places it as a png on my desktop. :smile Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.