The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

version change

2 posters

Go down

In progress version change

Post by kikinmaru May 24th 2015, 6:46 pm

hi, a few weeks ago I changed my forum from phpbb2 to phpbb3, it was rather by accident but I kept the new version.

I had two javacript codes, one the information redirect after posting:

;$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
and the layout of quotes

dl.codebox { background:url(https://2img.net/i/fa/subsilver/icon_delete.gif) no-repeat 3px 3px }
    dl.codebox.spoiler { background:url(https://2img.net/i/fa/subsilver/icon_report.gif) no-repeat 3px 3px }

    dl.codebox {
      background-color:#EEE;
      border:1px solid #CCC;
      border-left-width:5px;
      padding:3px 3px 3px 25px;
      margin:3px 10px;
    }

    dl.codebox dt, dl.codebox dt span {
      color:#555;
      font-weight:bold;
    }

    dl.codebox dd, dl.codebox div.spoiler_content {
      background:none;
      border:none;
    }
and it seems that both aren't working anymore, can this be helped with? thanks in advance :-/
avatar
kikinmaru
New Member

Posts : 8
Reputation : 1
Language : English

View user profile http://ex-iskon.forumcroatian.com/

Back to top Go down

In progress Re: version change

Post by SLGray May 24th 2015, 9:54 pm

The reason why the CSS is not working is because phpBB 3 has different CSS selectors than phpBB 2.

Code:
.content blockquote

blockquote, dl.codebox

blockquote


version change Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 50341
Reputation : 3473
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: version change

Post by kikinmaru May 26th 2015, 7:41 pm

ok what should I do to get just the instant refresh after posting, back?
avatar
kikinmaru
New Member

Posts : 8
Reputation : 1
Language : English

View user profile http://ex-iskon.forumcroatian.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum