1 drmynatt Dec 27, 2009 05:03
3 yabba Dec 27, 2009 22:29
Valid xhtml will probably also help ;)
<input /> ... <img />
Self closing tags and all that ;)
¥
4 sam2kb Dec 27, 2009 23:00
AFAIK b2evo 2 adds closing </input> tag, which was fixed in b2evo 3.
5 drmynatt Dec 28, 2009 00:44
Hi- Thank you for responses; WINXP/SP3 and b2 version 2.4.5.; commercial cable.
Dave
6 sam2kb Dec 28, 2009 00:50
You can either update to b2evo 3.3.3 or edit the file inc/_core/_param.funcs.php, line 1839
// Push if not img or br or hr
if($tag != 'br' && $tag != 'img' && $tag != 'hr' && $tag != 'param' && $tag != 'input')
7 drmynatt Dec 28, 2009 02:44
Thank you; I changed the php file. I went to the blog page, edited the blog where I want to insert the code, went to HTML option, and placed the FORM code in the popup. When I 'insert' it, the FORM code disappears.
Every time I update my b2evol I end up losing things and spend hours fixing stuff. If I need to update I will but I thought I'd pass this along just in case someone else had this problem too.
Thanks, folks, appreciate your help as always!
The page is at: http://sciencecenter.no-ip.org/index.php?blog=44
Dave
8 sam2kb Dec 28, 2009 03:27
Try this code instead. And don't forget to edit group settings and select XHTML validation: Basic security checking if you haven't done this yet.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="10722303" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
9 drmynatt Dec 28, 2009 04:28
I upgraded to 3.3. Am fixing some weird stuff that I can't even begin to describe. Basically, the Admin screen are overlaid, but transparent, over the regular blog screens. Like I said, can't even begin to describe. Send me your email and I'll give you admin access and maybe you can figure it out. I did get the images to work okay and most every thing else seems okay, so I guess it's as good as it gets for now.
Dave
10 sam2kb Dec 28, 2009 04:35
Can you PM it to me?
See if CTRL+F5 fixes admin screen.
11 drmynatt Dec 28, 2009 04:50
Hi- CTRL+F5 didn't fix it.
Dave
12 sam2kb Dec 28, 2009 04:53
Yeah, I'm working on it...
13 sam2kb Dec 28, 2009 05:29
Ok, I found the problem.
The "sf-menu" class is missing from evobar. It should look like <ul class="sf-menu sf-menu-right">, but yours is just <ul>.
Can you see what you have in inc/_core/ui/_menu.class.php on line 330. There should be
'before' => '<ul class="sf-menu '.$name.'">',
14 drmynatt Dec 28, 2009 05:42
Yes, I have the line as specified in your email. Do I need to change another line?
Dave
15 sam2kb Dec 28, 2009 05:46
drmynatt wrote:
Yes, I have the line as specified in your email. Do I need to change another line?
Does it look exactly the same?
16 drmynatt Dec 28, 2009 05:52
Yes; exactly... can I send an image somehow?
17 sam2kb Dec 28, 2009 05:59
Can you PM me FTP login and password too?
18 drmynatt Dec 28, 2009 06:19
Anonynous is not active.
19 drmynatt Dec 28, 2009 07:01
Wow! You fixed everything that I goofed up and I am very much appreciative of your help.
By the way, 3.3.x is a great upgrade. WUSIWUG is a great addition, as is the rest of the editing tools. Nice work.
I take it you are one of the coders?
And, thanks again.
Dave
20 sam2kb Dec 28, 2009 07:27
When you upgrade b2evo you should only save skins and plugins you customized, never copy old skins and plugins folders over the new ones.
You will still see bugs in some places until you replace skins and plugins folders with those from 3.3.3, leaving only custom files.
I take it you are one of the coders?
Not really, I mostly create plugins and fix broken installations :)
21 drmynatt Dec 28, 2009 07:36
Yep, that's exactly what I did; when I didn't see the skin I used before I just copied over the entire skins directory from my saved files.
You obviously are very talented and have a expert's view on b2evol, so I very much appreciate the fixes. I'll try not to mess up an upgrade in the future.
Thank you; the FORM code (as you rewrote) works as advertised and that's a relief too.
Dave
Colorado
22 sam2kb Dec 28, 2009 07:48
Thanks for kind words. Happy holidays!
What version of b2evolution are you using?