You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 17 of 62)
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.
IMO the color scheme could use a bit more contrast, but otherwise it's very nice indeed!
mia wrote:how do you get pictures
What?
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.
My mod works, but I haven't gone to much effort to make it go beyond that.
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.
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.
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).
Well, it looks very nice so far.
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:
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.
Try using this:
TR.iclosed TD.tcr A {WHATEVER}
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.
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.
If you want even more control over your header, edit include/template/main.tpl.
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
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:
No, don't paste the rendered page; paste the source code (open the file in whatever editor you use).
Posts found: 401 to 425 of 1,544