>>  Site Map >>  Forums >>  Modules 7x

Forum module - topics in forum:



Modules 7x - Discussions regarding PHP-Nuke Modules. 7x





I see.

I'm clutching at straws now but maybe try modules/forums/posting.php from the original nuke d/load and see if it works, if it does at least we've narrowed it down.






Thanks Darren

Luckily I had the file handy, but unfortunately it didn't work Sad

If we're unable to work out where this problem is, is there any way of getting back to original .17 forums? Before I created any of this mess Laughing






Not really, the upgrades make database changes.

You definately followed the correct upgrade routines?

Uploading each in turn and running each upgrade file as you went






Yeah, but I THINK I used the Unpatched version of 17-18. The rest were definitely all the patched versions. I'm running 3.3 patch, so I needed the patched versions






Well you could always upload the files again in order starting at 18 patched.

You obviously wouldn't need to run the upgrade scripts again.

You can change your theme back for the time being LOL Shocked






LOL!

Thanks Darren, I'll give that a go now.

Really appreciate you taking the time mate. I'll post an update once I've done all the files.






Nope, I went from 17-18 all the way to 20-21 using the patched files, and the color thing is still happening. Man, how can something so trivial be such a hard thing to solve LOL Laughing

I don't know what I've done but somewhere along the line something must have gone wrong. But this time around I definitely did the files in the right order.

If there any way of finding out where that drop down menu is controlled from?






includes/bbcode.php I would imagine holds the functions but the actual list is controlled by the *yourtheme*/forums/bbcode.tpl

So maybe try your original includes/bbcode.php.

I've even just been around and searched a few nuke sites and can't find anything on this issue posted anywhere. Laughing Confused






I just reloaded the bbcode.php file and no joy, still the same thing.

I don't do things by halves do I LOL! Laughing

Sounds like we're running out of places to look. Any other ideas? Confused






YES! Persistence does pay off LOL Laughing

I found the answer to my problem on the PHPBB forums, although the original code was different to mine so I just kept fiddling with it, until it worked. The tweak needed to be made in Posting_body.tpl in <theme_name>/Forums

The original post is here:

http://www.phpbb.com/phpBB/viewtopic.php?t=462640&highlight=font+color+colour+default

Now, My original code is here:

Original Code
Code: :
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">


Finished Code
Code: :
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">


Now mine differs to the poster on that thread, as it's missing a semi colon, and it has an extra quotation mark. Anyhow, I just made sure that the end bit after [/color] was exactly the same, and it worked.

I thought I'd post the resolution so that anyone else who gets this problem might find the solution.

I found it by searching for Font and Color and Default on the PHPBB forums.

Thanks for all your help Darren, I wouldn't have got this done without your help.






Great, I'm glad you got it sorted. Smile






It would appear I'm not out of the wood just yet lol! Laughing

It's working perfectly in IE, but In firefox the following happens:

1) Highlight text that I wish to change the color of
2) Click the drop down menu to choose color (at which point the text that I selected in step 1 becomes unselected
3) click the color of my choice, for example yellow.
4) At the end of the text I selected I get the following appear on my page (I'll put it in a code box so that the tags show:

Code: :
This is the text I selected in step one[color=yellow][/color]


Any ideas?

Could you guys possibly copy and paste your code from your posting_body.tpl file please, as Firefox works fine on your site?

Thanks guys
Mal






Cant see that me posting my code would make any difference but here you go.

Code: :
<select name="addbbcode18" onchange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onmouseover="helpline('s')">







As you suspected, it didn't make any difference at all. But thanks for posting anyway Darren Very Happy

Anyone have any thoughts on why FireFox might be having difficulties with keeping the text selected while a colour is chosen?




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Select page

Valid HTML 4.01 Valid CSS