what exactly are you looking for, creating pages or the navlinks stuff.
51 2012-11-14 12:08
Re: Creating a page with the forum header and footer and you own content (10 replies, posted in PunBB 1.4 additions)
52 2012-11-14 12:08
Re: Need a bit of help with an xml code (7 replies, posted in PunBB 1.4 additions)
nope. this forums are dead lol.
53 2012-11-13 16:46
Re: Users cant register due to having same ip (8 replies, posted in PunBB 1.4 bug reports)
Bump!
54 2012-11-13 16:27
Re: [Theme Release] Grassland (7 replies, posted in PunBB 1.4 additions)
I added it through my main.tpl file from include/template folder. here is my file:
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]-->
<!--[if IE 7 ]> <html class="oldie ie7" <!-- forum_local -->> <![endif]-->
<!--[if IE 8 ]> <html class="oldie ie8" <!-- forum_local -->> <![endif]-->
<!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<link rel="Shortcut icon" href="http://www.myfootballcafe.com/favicon.ico" type="image/x-icon"
<!-- forum_head -->
</head>
<body>
<!-- forum_messages -->
<div id="brd-wrap" class="brd">
<div <!-- forum_page -->>
<div id="brd-head" class="gen-content">
<a href="http://www.myfootballcafe.com/"><img alt="MyFootballCafe.com" height="65" longdesc="MyFootballCafe.com is a place for all football fans to talk about top level football." src="http://www.myfootballcafe.com/img/logo.png" width="100%" /></a>
<!-- forum_skip -->
<!-- forum_title -->
<!-- forum_desc -->
</div>
<div id="brd-navlinks" class="gen-content">
<!-- forum_navlinks -->
<!-- forum_admod -->
</div>
<div id="brd-visit" class="gen-content">
<!-- forum_welcome -->
<!-- forum_visit -->
</div>
<!-- forum_announcement -->
<div class="hr"><hr /></div>
<!-- forum_include "header.php" -->
<div id="brd-main">
<!-- forum_main_title -->
<!-- forum_crumbs_top -->
<!-- forum_main_menu -->
<!-- forum_main_pagepost_top -->
<!-- forum_main -->
<!-- forum_main_pagepost_end -->
<!-- forum_crumbs_end -->
</div>
<!-- forum_qpost -->
<!-- forum_info -->
<div class="hr"><hr /></div>
<div id="brd-about">
<!-- forum_include "newfooter.php" -->
</div>
</div>
</div>
<!-- forum_javascript -->
</body>
</html>
55 2012-11-13 14:08
Re: what am I supposed to do? (6 replies, posted in PunBB 1.4 troubleshooting)
lol, does your host have cpanel.
56 2012-11-13 11:50
Re: what am I supposed to do? (6 replies, posted in PunBB 1.4 troubleshooting)
though yor ftp console, or even cpanel, download filezilla if you dont have ftp console.
57 2012-11-13 11:18
Re: what am I supposed to do? (6 replies, posted in PunBB 1.4 troubleshooting)
Give permissions to your cache directory. strange i didn't needed that, try giving 755 permission, if that doesn't work then 777.
Note, i am not really familiar with the permissions stuff, there might be some security stuff, wait for someone else reply.
58 2012-11-12 15:31
Re: What server load means. (20 replies, posted in General discussion)
as i said, it depends on the server your website is hosted in, if your site loads fast, its all good, nothing to worry about.
59 2012-11-12 13:42
Re: What server load means. (20 replies, posted in General discussion)
i dont have many, usually 50/75 unique ones, on matchdays, 200+.
And these ratings means nothing, sometimes they are as much as urs without anyone being in the site. Especially if you are in a shared host.
60 2012-11-12 10:19
Re: What server load means. (20 replies, posted in General discussion)
mine shows, 0.01 0.06 0.08
dunno exactly what it means though.
61 2012-11-12 09:40
Re: Users cant register due to having same ip (8 replies, posted in PunBB 1.4 bug reports)
Some guy from phpbb had the same problem with his forum as mine.
https://www.phpbb.com/community/viewtop … ;t=2133487
They gave him a workaround, look at this:
One workaround would be to make this edit:
Open: /includes/startup.php
Find:
if (!defined('IN_PHPBB')) { exit; }
After, add:
if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR']) { $_SERVER['REMOTE_ADDR'] = htmlspecialchars((string) $_SERVER['HTTP_X_FORWARDED_FOR']); }
Can i use this in my forum, and how?
62 2012-11-12 08:23
Re: Users cant register due to having same ip (8 replies, posted in PunBB 1.4 bug reports)
BUMP!
Geez, no one?
The host keep insisting that the problem is not about having one nameserver ip in both ns1, ns2.
I tried installing a new untouched punbb forum as a test, it had the same problem, everyone had the same ip as the server/nameserver ip.
I have this tool in my cPanel, called "Simple DNS Zone Editor". I have no idea how to use it, may be it can be a solution to this problem. here is the picture.
Anyone know if this tool can help in this.
Also i heard of this website, http://www.cloudflare.com
Can that help me maybe.
63 2012-11-07 13:41
Topic: Need a bit of help with an xml code (7 replies, posted in PunBB 1.4 additions)
I am trying to modify the quardric adsense manager to make the adsense after first post look like a post with an ad inside it. I copied some code from the old 1.2 version of that mod.
here is my modified version:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">
<!--
/**
* AdSense Manager - show ads in forum
* Extension for PunBB 1.4
*
* @copyright (C) 2011 quadric quadmachine@wp.pl
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
* @package quadric_image_assistant
*
* Extension for PunBB (C) 2011 PunBB
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*
*/
-->
<extension engine="1.0">
<id>quadric_adsense_manager</id>
<title>Quadric AdSense Manager</title>
<version>1.0.1</version>
<description>Manage AdSense in forum.</description>
<author>Quadric</author>
<minversion>1.4</minversion>
<maxtestedon>1.4.2</maxtestedon>
<install><![CDATA[
forum_config_add('o_quadric_adsense_manager_s1_enabled', '0');
forum_config_add('o_quadric_adsense_manager_s1_client', '');
forum_config_add('o_quadric_adsense_manager_s1_width', '');
forum_config_add('o_quadric_adsense_manager_s1_height', '');
forum_config_add('o_quadric_adsense_manager_s1_slot', '');
forum_config_add('o_quadric_adsense_manager_s2_enabled', '0');
forum_config_add('o_quadric_adsense_manager_s2_client', '');
forum_config_add('o_quadric_adsense_manager_s2_width', '');
forum_config_add('o_quadric_adsense_manager_s2_height', '');
forum_config_add('o_quadric_adsense_manager_s2_slot', '');
]]></install>
<uninstall><![CDATA[
forum_config_remove(array(
'o_quadric_adsense_manager_s1_enabled',
'o_quadric_adsense_manager_s1_client',
'o_quadric_adsense_manager_s1_width',
'o_quadric_adsense_manager_s1_height',
'o_quadric_adsense_manager_s1_slot',
'o_quadric_adsense_manager_s2_enabled',
'o_quadric_adsense_manager_s2_client',
'o_quadric_adsense_manager_s2_width',
'o_quadric_adsense_manager_s2_height',
'o_quadric_adsense_manager_s2_slot'
));
]]></uninstall>
<hooks>
<hook id="hd_gen_elements"><![CDATA[
if ($forum_config['o_quadric_adsense_manager_s1_enabled'] && stripos(get_current_url(), 'admin/') === false) {
$ad = '<script type="text/javascript"><!--
google_ad_client = "' . $forum_config['o_quadric_adsense_manager_s1_client'] . '";
google_ad_slot = "' . $forum_config['o_quadric_adsense_manager_s1_slot'] . '";
google_ad_width = ' . $forum_config['o_quadric_adsense_manager_s1_width'] . ';
google_ad_height = ' . $forum_config['o_quadric_adsense_manager_s1_height'] . ';
//-->
</script>
<div class="blockpost<?php echo ($post_count % 2 == 0) ? ' roweven' : ' rowodd' ?>">
<h2><span><?php echo format_time($cur_post['posted']) ?></span></h2>
<div class="box">
<div class="inbox">
<div class="postbody">
<div class="postleft">
<dl>
<dt><strong><?php echo $adsense_config['google_bot_name'] ?></strong></dt>
<dd class="usertitle"><strong>Advertisement</strong></dd>
</dl>
</div>
<div class="postright">
<h3><?php echo $lang_topic['Re'].' '; ?><?php echo pun_htmlspecialchars($cur_topic['subject']) ?></h3>
<div class="postmsg">
<?php echo "<br /><div style=\"TEXT-ALIGN: left\">
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>
</div>
</div>
</div>
';
// Forum Title
$gen_elements['<!-- forum_title -->'] = '<div style="float:right">'.$ad.'</div><p id="brd-title"><a href="'.forum_link($forum_url['index']).'">'.forum_htmlencode($forum_config['o_board_title']).'</a></p>';
}
]]></hook>
<hook id="vt_row_pre_display"><![CDATA[
if ($forum_config['o_quadric_adsense_manager_s2_enabled'] && $forum_page['item_count'] == 2) {
echo '<script type="text/javascript"><!--
google_ad_client = "' . $forum_config['o_quadric_adsense_manager_s2_client'] . '";
google_ad_slot = "' . $forum_config['o_quadric_adsense_manager_s2_slot'] . '";
google_ad_width = ' . $forum_config['o_quadric_adsense_manager_s2_width'] . ';
google_ad_height = ' . $forum_config['o_quadric_adsense_manager_s2_height'] . ';
//-->
</script>
<div style="text-align:center;">
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
';
}
]]></hook>
<hook id="vt_end"><![CDATA[
if ($forum_config['o_quadric_adsense_manager_s2_enabled'] && $forum_page['item_count'] == 1) {
echo '<script type="text/javascript"><!--
google_ad_client = "' . $forum_config['o_quadric_adsense_manager_s2_client'] . '";
google_ad_slot = "' . $forum_config['o_quadric_adsense_manager_s2_slot'] . '";
google_ad_width = ' . $forum_config['o_quadric_adsense_manager_s2_width'] . ';
google_ad_height = ' . $forum_config['o_quadric_adsense_manager_s2_height'] . ';
//-->
</script>
<div style="text-align:center;">
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
';
}
]]></hook>
<hook id="ca_new_function"><![CDATA[
if (file_exists($ext_info['path'].'/lang/'.$forum_user['language'].'/'.$ext_info['id'].'.php'))
include $ext_info['path'].'/lang/'.$forum_user['language'].'/'.$ext_info['id'].'.php';
else
include $ext_info['path'].'/lang/English/quadric_adsense_manager.php';
]]></hook>
<hook id="ca_fn_generate_admin_menu_new_sublink"><![CDATA[
if (FORUM_PAGE_SECTION == 'settings') {
$forum_page['admin_submenu']['qam_links'] = '<li class="'.((FORUM_PAGE == 'admin-quadric-adsense-manager') ? 'active' : 'normal').((empty($forum_page['admin_submenu'])) ? ' first-item' : '').'"><a href="'.forum_link('admin/settings.php?section=quadric_adsense_manager').'">'.$GLOBALS['lang_quadric_adsense_manager']['Settings title'].'</a></li>';
}
]]></hook>
<hook id="aop_new_section"><![CDATA[
if ($section == 'quadric_adsense_manager') {
require $ext_info['path'].'/quadric_adsense_manager_page.php';
}
]]></hook>
</hooks>
</extension>
Can anyone tell me what i am doing wrong.
64 2012-11-07 08:39
Re: [Extension] OmedOnlie-Tags. (10 replies, posted in PunBB 1.4 additions)
MP3 version not working, Also is there a way to remove few stuff, like the youtube for example.
I am using another extension which has video tag instead of youtube and it can show videos from dalymotion too, so i want to use that instead of this youtube.
65 2012-11-07 07:53
Re: How to Change Favicon Punbb v1.4.2 (6 replies, posted in PunBB 1.4 additions)
copy you favicon.ico to main website directory and go to you main directory > include > template > main.tpl.
and add the following line after the meta uf8 tag line.
<link rel="Shortcut icon" href="http://www.yourwebsite.com/favicon.ico" type="image/x-icon"
66 2012-11-06 14:35
Re: set a time for modify post (3 replies, posted in PunBB 1.4 additions)
here: https://github.com/dimkalinux/Fancy-Ext … master.zip
there are many extensions in it, look for Post Edit Control.
67 2012-11-06 14:35
Re: How to make subforum access to only members with X posts (15 replies, posted in Discussions)
what feature updates, its just an extension lol.
68 2012-11-06 12:01
Re: set a time for modify post (3 replies, posted in PunBB 1.4 additions)
there is an extension somewhere in this supported extensions forum, you need to search something like "post edit".
69 2012-11-06 11:55
Re: How to make subforum access to only members with X posts (15 replies, posted in Discussions)
you are absolutely right, i though there was a way for the ranks to come into this.
i guess you have to make an extension if there isnt any.
70 2012-11-06 09:37
Re: How to make subforum access to only members with X posts (15 replies, posted in Discussions)
Well, you have to make a rank/group for members who have over 50 posts, then only allow that group to access that subform.
71 2012-11-05 10:44
Re: Fancy Login Loginza — login with Facebook, Twitter (17 replies, posted in Supported extensions)
This doesnt work with pun stop bot questions.
72 2012-11-05 09:58
Re: Very important Suggestions for Next Punbb version aka 1.4.3 (4 replies, posted in Feature requests)
We can not move all apache options to .htaccess because not all options is allowed in .htaccess and this very depend on hosting setup. Currently we use only safe options in .htaccess.
I think if you known about PageSpeed - you can setup webserver caching.
I know i can but i dont know about others, why not make a basic caching system that other forums software use, even fluxbb implemented this in their 1.2/1.5 version.
The other suggestion is even more important, the current links system is causing alotof duplicate content in search engines.
What is the point of having a link like this:
http://www.myfootballcafe.com/topic/102 … announced/
If google index this link instead:
www.myfootballcafe.com/post/277/
73 2012-11-04 13:29
Re: [Extension release] KT Mobile v1.6 (80 replies, posted in PunBB 1.4 additions)
Any news on the new version of KT Mobile, Kushi?
Love your toolbar login / dropdown thing on ur site.
74 2012-11-04 09:23
Re: Very important Suggestions for Next Punbb version aka 1.4.3 (4 replies, posted in Feature requests)
Cache headers for static contents must be send by webserver - not forum. Just configure your webserver.
yea but not everyone can or has knowledge to configure their webserver.
Also what do you think about the other suggestions, the SEO/links stuff.
75 2012-11-03 15:31
Topic: Users cant register due to having same ip (8 replies, posted in PunBB 1.4 bug reports)
There is another big problem this is causing, some people reported that they can't register to forums cuz they receive message like
"A new user was registered with the same IP address as you within the last hour."
They receive this message because all the guests coming to my website have the same ip address "199.229.250.24" which is the ip address of the server and the nameserver (both ns1, ns2).
I already emailed the host to give me one more ip as ns2, i believe this might be the issue with all this, but they said it will take time as they have other problems they want to fix.
I wanted to know if there is a way to solve this, how come counters like google analytics show the correct number of people/ip's while the punbb does not.
Meanwhile if there is a way for punbb to ignore this ip rule while registering.