2 sam2kb Dec 27, 2009 21:33

Valid xhtml will probably also help ;)
<input /> ... <img />
Self closing tags and all that ;)
¥
AFAIK b2evo 2 adds closing </input> tag, which was fixed in b2evo 3.
Hi- Thank you for responses; WINXP/SP3 and b2 version 2.4.5.; commercial cable.
Dave
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')
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
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>
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
Can you PM it to me?
See if CTRL+F5 fixes admin screen.
Hi- CTRL+F5 didn't fix it.
Dave
Yeah, I'm working on it...
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.'">',
Yes, I have the line as specified in your email. Do I need to change another line?
Dave
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?
Yes; exactly... can I send an image somehow?
Can you PM me FTP login and password too?
Anonynous is not active.
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
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 :)
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
Thanks for kind words. Happy holidays!
What version of b2evolution are you using?