lol. I typed something into that box initially, but nothing appears. Do I need to edit anything else?
51 2006-06-28 16:36
Re: added text below board title? (3 replies, posted in PunBB 1.2 troubleshooting)
52 2006-06-28 16:04
Topic: added text below board title? (3 replies, posted in PunBB 1.2 troubleshooting)
Is it possible to add a line of text below the board title (which is added via the admin panel).
I know this is probably an easy enough question to answer, so please be gentle.
thanks,
53 2006-06-28 08:07
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Fantastic! Cheers.
54 2006-06-28 07:43
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
yes, thats been done already.
do i need to do the same for the following in the parser file?
$num_smilies = count($smiley_text);
for ($i = 0; $i < $num_smilies; ++$i)
$text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);
55 2006-06-27 23:41
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
steve, you mention changing this:
echo "\t\t\t\t\t\t\t".'<a href="javascript:insert_text(\''.$smiley_text[$i].'\', \'\');"><img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.$smiley_text[$i].'" /></a>'."\n";
what has to be altered?
56 2006-06-27 23:37
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yep. Did so!
Thing is, now the emoticons appear fine when they appear for selection, but they are squashed when its been posting (i should add that its only the bigger emotions that are squashed. the normal sized ones are fine).
Reading through this thread, someone had the same problem, but I dont quite understand how they resolved it.
Hi, i've problem, when posted, the smilies image size is decreased, how can that be changed to normal size, like all others standart smilies?
Here's screenshot http://img93.imageshack.us/img93/1149/2 … rot5kv.png
And Cyrix then stated:
managed.. it was needed to remove from parser.php all smilies, and add easy smilies mod, then through that mod added smilies and everything works fine.
57 2006-06-27 22:38
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Okay. Fixed it. Was an issue with the files uploaded (the actual png files).
Anyways, all looks good apart from 2 emoticons that appear to be squashed when appearing under the bbcode buttons and when selected in a post.
Any ideas what may cause this?
58 2006-06-27 22:31
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Okay. Fixed it. Was an issue with the files uploaded (the actual png files).
Anyways, all looks good apart from 2 emoticons that appear to be squashed when appearing under the bbcode buttons and when selected in a post.
Any ideas what may cause this?
59 2006-06-27 22:01
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Sorted. I've worked out the problem. png files dont appear to be working.
60 2006-06-27 21:38
Re: Easy BBCode 1.0.1 (139 replies, posted in PunBB 1.2 modifications, plugins and integrations)
hi chaps,
I've uploaded the following mod: Easy BBCode 1.0.1 http://punbb.org/forums/viewtopic.php?id=6217 - and the bb code buttons appear perfectly, however when posting, text is only present for the emoticons (rather than the actual png files).
Below the bbcode buttons i just get the text version of the emoticon, and when clicking on it, the text version appears in the post. The actual smilie doesnt appear either way.
This is from my parser.php file:
// Here you can add additional smilies if you like (please note that you must escape singlequote and backslash)
$smiley_text = array(':)', '=)', ':|', '=|', ':(', '=(', ':D', '=D', ':o', ':O', ';)', ':/', ':P', ':lol:', ':mad:', ':rolleyes:', ':cool:');
$smiley_img = array('smile.png', 'smile.png', 'neutral.png', 'neutral.png', 'sad.png', 'sad.png', 'big_smile.png', 'big_smile.png', 'yikes.png', 'yikes.png', 'wink.png', 'hmm.png', 'tongue.png', 'lol.png', 'mad.png', 'roll.png', 'cool.png');
Am I meant to change something here? Or within the mod_easy file uploaded from the Easy BBCode mod?
(the png files are all located in html/board/img/smilies.
cheers,
61 2006-06-27 21:35
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
hi chaps,
I've uploaded the following mod: Easy BBCode 1.0.1 http://punbb.org/forums/viewtopic.php?id=6217 - and the bb code buttons appear perfectly, however when posting, text is only present for the emoticons (rather than the actual png files)
Below the bbcode buttons i just get the text version of the emoticon, and when clicking on it, the text version appears in the post. The actual smilie doesnt appear either way.
This is from my parser.php file:
// Here you can add additional smilies if you like (please note that you must escape singlequote and backslash)
$smiley_text = array(':)', '=)', ':|', '=|', ':(', '=(', ':D', '=D', ':o', ':O', ';)', ':/', ':P', ':lol:', ':mad:', ':rolleyes:', ':cool:');
$smiley_img = array('smile.png', 'smile.png', 'neutral.png', 'neutral.png', 'sad.png', 'sad.png', 'big_smile.png', 'big_smile.png', 'yikes.png', 'yikes.png', 'wink.png', 'hmm.png', 'tongue.png', 'lol.png', 'mad.png', 'roll.png', 'cool.png');
Am I meant to change something here? Or within the mod_easy file uploaded from the Easy BBCode mod?
(the png files are all located in html/board/img/smilies.
cheers,
62 2006-06-23 21:51
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Hi chaps,
Paul - that makes sense. If my friend decides to turn up soon, then I'm guessing he will add the mods and upload the new style.
I think in the mean time, I'm gonna read up on pun - and if Lord Lucan remains away, then I'll have to work out things for myself.
Cheers,
N
63 2006-06-23 20:46
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Hold up, so he has probably edited the parser.php file to suit HIS forum style that has yet to be uploaded?
64 2006-06-23 20:38
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Fantastic
Looks like I'm stuck then.
65 2006-06-23 20:24
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Thats the problem. He worked on his own and wouldnt actually offer anything up front with regards to the work he has done. I'm so frustrated over this, because I'm stuck with half a forum.
Is there a guideline to what I need to do with parser.php?
66 2006-06-23 20:12
Re: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
They are enabled.
Do I need some kind of mod in order to have buttons appear when posting, stating: B / I / U / Img / Quote ?
etc
Currently, I have to manually type the codes.
Not sure why the emoticons are not appearing, as they appear to be in the right folder.
67 2006-06-23 19:38
Topic: Help! I've been left in the lurch (16 replies, posted in PunBB 1.2 troubleshooting)
Hi all,
I'll try and avoid a lifestory here, but basically, my phpbb forum was pulled down by myself. I transfered the database over to a new host and allowed a friend (who is far more savvy than me) to make the change over to punbb.
It was a success, and according to him, he had checked everything and corrected any bugs he had found.
The only thing left for him to do was to implement the style he had created for the forum. Trouble is, he has now disappered off the face of the earth. I'm a little pissed off because the forum has been down for over a week (when it should have only taken 2 days at the very most).
So, as a stop-gap, I will use a style from this forum - but the problem I have is this:
I asked him a week back why emoticons/tags and all the other features that appear when posting are not there.
He said its because the forum is currently 'barebones'.
What does he mean by this? Is it the case that installing a new style wont bring out certain elements?
How are emoticons etc made active?
Surely a punbb forum can work to the max and is not dependent on the actual style - or is it the case that my friend may have code to update?
I hope I've made some sense.
Thanks to anyone who can offer any suggestions/help.
ta,
N