pogenwurst wrote:

Replace the query with the following:

// Print the categories and forums
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post_id, f.last_poster, t.subject FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id INNER JOIN topics AS t ON f.last_post_id=t.last_post_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position', true) or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());

Replace the $last_post conditional with the following:

    // If there is a last_post/last_poster.
    if ($cur_forum['last_post_id'] != '' && $pun_config['o_censoring'] == '1')
        $last_post = '<a href="viewtopic.php?pid='.$cur_forum['last_post_id'].'#p'.$cur_forum['last_post_id'].'">'.censor_words(pun_htmlspecialchars($cur_forum['subject'])).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';
    elseif ($cur_forum['last_post_id'] != '' && $pun_config['o_censoring'] == '0')
        $last_post = '<a href="viewtopic.php?pid='.$cur_forum['last_post_id'].'#p'.$cur_forum['last_post_id'].'">'.pun_htmlspecialchars($cur_forum['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';
    else
        $last_post = ' ';

Edit: I just realized that I forgot to add code to clip overly long topic subjects. I will do so soon.

Same Error:
Error: Unable to fetch category/forum list.

pogenwurst wrote:

Moved to modifications.

http://wiki.punres.org/Last_post%27s_su … orum_index

Use fpouget's code. The whole thing can be done a little more simply, but it works.

I get an error when i try to use fpouget's code. Category/subject could not be found error to be exact

Whats the simplier way?

On the forum index page, how can i add the last posted topic in that forum above the date that currently displays or change it so the last posted topic displays instead of the date?

I've searched for the answer to this question, and i haven't been ablet to find one. So if i missed it, forgive me..

Ennis

Appreciate your help everyone.
Thanks

pogenwurst wrote:

This is your problem:

http://www.thisisennis.com/wp-content/t … middle.gif

This and two other images are used as backgrounds in order to create the illusion of equal-height columns and to add the fancy border around your content.

umm. i new that was what was showing through, its my background for my theme. My question was, if the forum background is white, there shouldn't be any areas any other color throughout the forums, including that part. In other words, the theme for my background should not be showing through the forum.

I find it weird that the background in the style sheet is set to white, however the sidebar still shows through. If anyone can provide any assistance it would be appreciated.

ThisIsEnnis.com
Website

Forums
Click Here

I just realized that after integrating punbb into my websites theme, the background of my theme shows through the forum on the right hand side. Note: More noticeable on the bottom right hand side above the punbb footer

Can be seen here: ThisIsEnnis.com

Anyone know how i can change it to be white?

pogenwurst wrote:

Hopefully this will work out:

DIV.blockpost H2 SPAN A {FONT-SIZE: whatever}

Do you want the number on the right shrunk as well?

The number on the right is perfectly fine for now and thank you very much. This worked perfectly. Appreciate your help.

pogenwurst wrote:
Ennis wrote:

thanks hcgtv for your reply. However, when i change the value of the H2, it decreases the size of the announcement header while the timestamp stays the same

Do you simply want to change the text size?

yes please

gog wrote:
Ennis wrote:

Im sure there is a easier way then this. One of the developers should know this question fairly quickly i would think. Forgive me if im mistaken. I'd prefer not to install any extensions, i have heard that some tend to screw up your profile, leak more memory etc.

Ofcourse there is an easies way, it is allways easier to ask rather then doing something yourself smile

We don't want to bother developers with things like this, they should be doing more important things tongue

As for the others -> http://punbb.org/forums/viewtopic.php?pid=71962#p71962

Dude, if you read my original post, i stated that i searched for this for a period of time. I am a programmer, and i know that looking for something or programming your head gets a little cloudy sometimes and you just cant solve or find the solution to the right problem quickly.

Furthermore, I didn't ask a developer directly, constantly pm'ing them over this issue. I simple said there had to be a simplier solution to this then installing unneeded firefox extensions. A developer would be the best person to answer the question as they developed this software and have worked with it, or someone else who was use to working with the punbb forums. I recently just install the forums myself, so i am still getting use to the way everything is laid out.

thanks hcgtv for your reply. However, when i change the value of the H2, it decreases the size of the announcement header while the timestamp stays the same

gog wrote:

Install webdevloper extension in Firefox, and use CSS->View Style Information (ctrl + shift + y), hovering over element show all the css rules that are applied to the particular element. Clicking on it extract all CSS rules that are acctually used in the forums CSS.

Handy little extension smile

Im sure there is a easier way then this. One of the developers should know this question fairly quickly i would think. Forgive me if im mistaken. I'd prefer not to install any extensions, i have heard that some tend to screw up your profile, leak more memory etc.

Thanks for your reply though

This is a stupid question, and im sure im looking straight at in the .css but ive been looking for it for a few minutes and i cant find it for the life of me. Anyways, can anyone tell me where in the .css i can change the size of the timestamp located at the top of posts? Its a tad bit to big on my site and i want to decrease its size.


Thanks

Paul wrote:

Take a look at section 2.1 in your colour scheme stylesheet, the Oxygen default looks like this

/* 2.1 This is the setup for posts. */

DIV.blockpost DIV.box, DIV.postright, DIV.postfootright {BACKGROUND-COLOR: #DEDFDF}
DIV.postright, DIV.postfootright {BORDER-LEFT-COLOR: #f1f1f1}
DIV.postleft, DIV.postfootleft, DIV.blockpost LABEL {BACKGROUND-COLOR: #F1F1F1}

The first line is the right hand column. The 2nd and 3rd lines are the left hand column and must have the same color setting as each other.

Thanks for the reply. I had the same issue and this fixed it for me. Appreciate your help.

15

(19 replies, posted in PunBB 1.2 show off)

Smartmonkey wrote:

LOL @ the chronicles of george haha. I've run into a few people like that before.

Thought it was pretty funny. I haven't had the 'pleasure' of working with people like this, but i have heard alot of stories with people in the same situations.

16

(19 replies, posted in PunBB 1.2 show off)

hcgtv wrote:
Ennis wrote:

purpose of this reply/post?

I hadn't run across Enhanced Simple PHP Gallery, that's why I asked what you were running.

When I visit sites, like yours, I play around with all the different apps. Usually I can figure out what's running but the gallery had me stumped.

So I researched it and added a PHP Cross Reference for it.

Thanks.

Ah. No the reason i asked is because i posted the link to the original site in my previous reply. Just curious if there was a problem thats all.

17

(19 replies, posted in PunBB 1.2 show off)

purpose of this reply/post?

18

(19 replies, posted in PunBB 1.2 show off)

hcgtv wrote:

Thanks Ennis, that answered my question.

I'm always on the lookout for new scripts.

Not a problem.
Enjoy.

19

(19 replies, posted in PunBB 1.2 show off)

hcgtv wrote:

Like for your front end, gallery, etc.

Well the gallery is called Enhanced Simple PHP Gallery found Here

The main page of the site I use Wordpress and the layout is a wordpress theme.

I think I answered your question(s). Possibly be a little more clearly on what you want to know and I may be able to give you a better answer

20

(19 replies, posted in PunBB 1.2 show off)

hcgtv wrote:

Ennis, what other scripts are you using?

just a javascript. why?

21

(19 replies, posted in PunBB 1.2 show off)

pogenwurst wrote:

Nice.

I'd recommend that you center the top navigation to match the rest of the page.

THat has been an issue i have been trying to fix. On my laptop, the navigation displays perfectly fine. However, on desktop monitors it is not centered with the rest of the page. Its weird and im hopin to fix it soon.

Thanks for the reply though.

22

(19 replies, posted in PunBB 1.2 show off)

After using phpbb, mybb and others, i've finally decided to go with punbb.

My site:
ThisIsEnnis.com

Forums:
ThisIsEnnis.com - Forums