Adding a new menu should be easy by editing include/template/main.tpl.

To address how to hide the menu in certain instances, we'd need to know more about a) how your site is set up and b) on which pages in particular would you like it to be shown/hidden.

Try here: http://www.punres.org/desc.php?pid=296

403

(3 replies, posted in PunBB 1.2 show off)

IMO the color scheme could use a bit more contrast, but otherwise it's very nice indeed!

404

(8 replies, posted in Programming)

mia wrote:

how do you get pictures

What?

405

(15 replies, posted in PunBB 1.2 troubleshooting)

Smartys wrote:

http://punbb.org/forums/viewtopic.php?id=11845
Netfirms should reallu upgrade their version of MySQL

According to their latest newsletter, they just have. It's about time.

Put this code in whatever file the calendar uses:

if($pun_user['is_guest'])
     message($lang_common['No view']);

(if I remembered the code right, that is)

Unfortunately I can't take a look because apparently MySQL has too many connections. However, for anything involving JS, the FireBug extension for Firefox is great. It might point you in the right direction (it has for me on many occasions).

Search the forums for "extern.php News Extension" and I think you'll find what you need.

GoglGourd wrote:

..found a slight problem with the one already created

Among many. tongue

My mod works, but I haven't gone to much effort to make it go beyond that.

410

(27 replies, posted in General discussion)

Kato wrote:

Actually, my wife and I only had to wait 13 and a half hours in line to get ours at midnight. We were one of the first 20 people (our Wal-Mart only got 20 units and we were number 18 in line so a LOT of people got turned around to find other stores to camp and wait in line) in our town to buy it, take it home and play it until all the other stores opened up the next morning big_smile  And yes, when we finally got home around 1am, we got it online, made our Mii's and checked out the Virtual Console and then played Wii Sports till 5:30am.

My brother told me about a few of his friends who camped out at Target to buy PS3s, all of whom planned to sell them immediately on eBay. One of them had actually paid someone else $300 for his spot in line. yikes

But geez, I thought I was being brave waking up at 4 AM to go to Fry's Electronics on Black Friday. I guess not. wink

Sorry to once again not answer your question, but what is the trouble with using PunBB's integration capability (it's fine if you don't want / can't use it, but really I don't see now why it would be a problem, and I'll be able to help you better if you explain).

viperxx wrote:

http://www.everlasting.co.nr

still underconstruction!

Well, it looks very nice so far. smile

miowpro wrote:

pogenwurst: what OS and browers you using? looks like FF

pogenwurst wrote:

Your site looks great, except the home page looks a bit flubbed up on Fx 2.0 for Linux:

big_smile Ubuntu Linux 6.10, to be specific.

Try changing the pun_status block to:

// START SUBST - <pun_status>
if ($pun_user['is_guest'])
    $tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<p>'.$lang_common['Not logged in'].'</p>'."\n\t\t".'</div>';
else
    $tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<ul class="conl">'."\n\t\t\t\t".'<li>'.$lang_common['Logged in as'].' <strong>'.pun_htmlspecialchars($pun_user['username']).'</strong></li>'."\n\t\t\t\t".'<li>'.$lang_common['Last visit'].': '.format_time($pun_user['last_visit']).'</li>';

if ($pun_user['g_id'] < PUN_GUEST)
        $result_header = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'reports WHERE zapped IS NULL') or error('Unable to fetch reports info', __FILE__, __LINE__, $db->error());

if ($db->result($result_header))
    $tpl_temp .= "\n\t\t\t\t".'<li class="reportlink"><strong><a href="admin_reports.php">There are new reports</a></strong></li>';

if ($pun_config['o_maintenance'] == '1')
    $tpl_temp .= "\n\t\t\t\t".'<li class="maintenancelink"><strong><a href="admin_options.php#maintenance">Maintenance mode is enabled!</a></strong></li>';

require(PUN_ROOT.'include/pms/header_new_messages.php');

if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<ul class="conr">'."\n\t\t\t\t".'<li><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a></li>'."\n\t\t\t\t".'<li><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></li>'."\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
else
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';

$tpl_main = str_replace('<pun_status>', $tpl_temp, $tpl_main);
// END SUBST - <pun_status>

Moved to modifications.

I'm not quite sure what you're requesting, but to add a Google translate link, do a translation on Google, copy the URL from the addressbar, and insert it wherever you want on viewtopic.php, replacing the URL of the translate page (somewhere after the "?") with the URL of the current forum page, formatted using urlencode().

Is the time displayed when viewing each news topic (i.e. on viewtopic.php, not your news page) correct or is it the same as that on the news page?

Have you seen this? http://punbb.org/docs/dev.html#integration

You could then simply use an if statement that checks against $pun_user['g_id'].

I've seen working subforums on several PunBB forums, although I have forgotten which and I am unsure whether they were using pabb's mod or nico_somb's improved derivative of it.

418

(16 replies, posted in PunBB 1.2 troubleshooting)

Try using this:

TR.iclosed TD.tcr A {WHATEVER}

419

(4 replies, posted in Feature requests)

There are currently two poll mods at punres.org, either of which you may use.

There are also several (well, at least two) custom smiley mods there that give you an admin plugin for an interface if you prefer one.

420

(9 replies, posted in PunBB 1.2 troubleshooting)

For 2, try:

#punsearch A#navsearch, #punindex A#navindex, #punuserlist A#navuserlist, #punprofile A#navprofile, #punadmin A#punadmin, #punlogin A#navlogin {WHATEVER}

I think that'll work. Please note however, that it will not work with the rules page because it uses #punmisc rather than, say, #punrules. You'd have to edit misc.php if you wanted to do it there too.

421

(7 replies, posted in PunBB 1.2 troubleshooting)

If you want even more control over your header, edit include/template/main.tpl.

422

(3 replies, posted in PunBB 1.2 show off)

Nice, except that the status / login box is a bit incongruous. I'd recommend that you either remove its border or give it a light gray border like the forums and announcement do.

imports/base.css should be fine.

miowpro wrote:

hey i have done another punBB intergration smile

www.torturegarden.co.uk/forum/

there is alot of backend intergration with the install, login, so its 100% intergrated with the website user database.

when you register on the website it registers you in the forum and also update the db when you edit your profile on both sides

Your site looks great, except the home page looks a bit flubbed up on Fx 2.0 for Linux:

http://img243.imageshack.us/img243/9605/screenshotzs8.th.png

425

(10 replies, posted in PunBB 1.2 troubleshooting)

No, don't paste the rendered page; paste the source code (open the file in whatever editor you use).