hahahahaha mmm... Ten 4 language as mod...:) a nice word game where users can play against eachother.
76 2006-12-14 21:10
Re: small css line around avatar. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
77 2006-12-14 21:04
Re: small css line around avatar. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
lol i know belgium always win with "10 voor taal" ...ehmm ten for language
78 2006-12-14 19:05
Re: small css line around avatar. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
haha my mistake okay works great and many thanks.
79 2006-12-14 14:43
Re: small css line around avatar. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thnx, works...only i use 100 x 100 avatars but when i leave height and width from the css line the box stretch to the right, is there another way?, because when somebody use 80x80 the box still use 100 x 100.
DD.postavatar {border-color: #000000 #CCCCCC #CCCCCC #000000; height: 100px; width: 100px; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; margin-bottom: 5px}
80 2006-12-14 13:26
Topic: small css line around avatar. (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hai all...
I want around the avatar a line, how do i do that with CSS in PubBB and where?
81 2006-12-12 19:11
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Works now...thanks...again
82 2006-12-12 17:06
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
#
#---------[ 10. FIND ]
#
$posts_field = '';
#
#---------[ 11. ADD BEFORE ]
#
list($year, $month, $day) = explode('-',$user['birthday']);
if($month!=0 && $day!=0){
$Nyear = (strlen($year)!=4)? NULL: $year;
$datestamp = mktime(0,0,0,$month,$day,0)
if ($lang_calendar['Date_format'] == 'US') {
$birthday = date("F jS ", $datestamp).$Nyear;
} else {
$birthday = date("j ", $datestamp).$lang_calendar[(date("F", $datestamp))].$Nyear;
}
}else
$birthday = $lang_profile['Unknown'];
i removed the modification instructions... works 4 me, temporary i hope 4 a solution because only admins can add events and birthday don't work.
83 2006-12-12 06:50
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thanks Elbekko everthing works like i wish, so today i start working on that.
84 2006-12-11 21:25
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
okay that works fine, link color change so i can do something with this. Only one other problem rise, mouseover link doesnt work anymore on the left and the right. Do you know a solution or is that just a mission impossible?
85 2006-12-11 21:05
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
okay ill try
86 2006-12-11 20:36
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well i normaly don't showoff, i realy hate that. http://www.shiftzone.com <---- as you see, left and right....YELLOW. When i put other block between its okay, it breaks the yellow a little bit, but it can be better...just other link colors in the miniportal blocks.
87 2006-12-11 14:42
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thanks Mark but what i want to know is how to add more link color styles into PunBB and how to use them in for example miniportal so i can give the links in the block a different color, and mouseover color still works. Because when you use one linkcolor it start look like a plague from one color. Its annoying..
88 2006-12-10 19:25
Re: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Don't understand it...
89 2006-12-10 07:08
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I have found a bug...or maybe im the only one. When you watch a event and you press on a nickname to somebody's profile you get a error (IF something) in this line (php tell this):
if ($lang_calendar['Date_format'] == 'US') {
90 2006-12-08 17:03
Topic: Referral page 4 PunBB (0 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well... its not realy a mod, more a nice thing for people that using a Apache server. Do whatever you want with it. Rebuild it, make it better...whatever. The script shows a list of referrals and you can add a list of domains that you don't want to see in the list. Works 4 me, maybe also 4 you
Name it : refs.php and dump it in the root from PunBB.
<?php
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
if($pun_user['is_guest']) { message($lang_common['No permission']);
;}
//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / Traffic';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
?>
<div class="block">
<h2><span>Traffic / Referrals</span></h2>
<div class="box">
<div class="inbox">
<div><?
# Path to Apache access log (ask you provider if you dont know)
$todaylog = "/var/log/httpd/access_log";
$ignore = array();
$ignore[0] = "http://punbb.org";
$ignore[1] = "http://punbb.org";
$referers = array();
error_reporting(1);
$fd = fopen("$todaylog","r");
while ($x = fgets($fd,1024)) {
list( , , , , , , , , , , $referer , ) = explode(" ", $x);
array_push($referers, $referer);
}
$count=0;
foreach($ignore as $toig) {
$ignore[$count] = str_replace("/", "\/", $ignore[$count]);
$ignore[$count] = str_replace(".", "\.", $ignore[$count]);
$count++;
}
$count=0;
foreach($referers as $x) {
# $referers[$count] = substr("$x", 1 , strlen($x));
$referers[$count] = substr($x, 1);
$referers[$count] = substr($referers[$count], 0, -1);
if($x == "\"-\"") { $referers[$count] = NULL; }
foreach($ignore as $toig) {
if(preg_match("/^\"$toig/", $x)) { $referers[$count] = NULL; }
}
$count++;
}
$final = array();
foreach($referers as $x) {
if($x != "") {
array_push($final, "<div class=\"postmsg\"><a href=\"$x\">$x</a></div><br>");
}
}
$referers = NULL;
$counts = array_values(array_count_values ($final));
$final = array_values(array_unique ($final));
$ccount = 0;
foreach($final as $x) {
print "[$counts[$ccount] x traffic received] <br> $x\n";
$ccount++;
}
fclose($fd);
?>
</div>
</div>
</div>
</div>
<?php
require PUN_ROOT.'footer.php';
91 2006-12-06 07:04
Topic: Link colors (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
My links are yellow, when you go over it they turn to white. But i want in punportal blocks different link colors (for example blue) that also change to white when you go over it with your mouse. Is it possible to have different link colors?
92 2006-12-06 06:57
Re: PunPortal 1.0 (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
works now, thanks!!
93 2006-12-05 13:12
Re: PunPortal 1.0 (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
great portal only one little question Tubby.... i use 1.2.14 Punbb...
I want a block from a specific forum. In your Q&A.txt you talk about :
Q 1: How would i set up the recent topics block to display the recent topics from a specific forum id?
A 1: Well its rather simple. Simply open up recenttopics.php under include/user and
replace this:
$result = $db->query('SELECT subject, id, forum_id, last_post FROM'.$db_prefix.'topics ORDER BY last_post DESC LIMIT '. $topicdisplay) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
with this:
$result = $db->query('SELECT f.id, t.subject, t.id, t.forum_id, t.last_post FROM '.$db_prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id WHERE t.forum_id='.$forumid1.' ORDER BY t.last_post DESC LIMIT '. $topicdisplay) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
But that don't work...so maybe you know a solution.
THanks
94 2006-12-02 13:12
Topic: Image align BBCODE (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I want something...iiiii want a BBCODE to align a image into text. So it look nicer....
SO you get this
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah
blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah [picture here]
Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah
blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah
95 2006-02-18 16:22
Re: About news generator & image (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
That's work for me, but, can we align the text to the top if the img's height is too long ?
use 100 x 100 pixel images and put the css to this :
IMG.postimg_left {float:left;margin:2px;clear:left}
IMG.postimg_right{float:right;margin:2px;clear:right}
IMG.sigimage_left{float:left;margin:2px;clear:left}
IMG.sigimage_right{float:right;margin:2px;clear:right}
Then it look good...
96 2006-02-18 09:56
Re: About news generator & image (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
thnx CodeXp that work 4 me
97 2006-02-17 19:22
Re: About news generator & image (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
jups a BBcode would be great...
98 2006-02-16 10:03
Re: About news generator & image (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
let's try
<p style="float:left">text....text....text....text....text....</p>
nope....doesnt work
99 2006-02-14 05:31
Topic: About news generator & image (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Two questions
1. Is it possible to put the user avatar in the generated news? and how do i do that...if it is possible..?
2. How to put a text around a image...in html you can do this:
<img src="image.jpg" width="163" height="176" align="left">and here text and here text and here text and here text and here text and here text and here text and here text and here textand here text and here text and here text and here text and here textand here textand here textand here textand here textand here text and here text and here text and here text and here text.
but with pun that doesn't work. So i maybe a bbcode?
Thanks 4 reading...