Author |
Message |
scorpious
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Dec 03, 2005
Posts: 153
|
Posted:
Sun Oct 24, 2010 1:30 pm |
|
Hi All
We have upgraded to Rn2.40.01, upgrade went fine, however
When a new user tries to create a new account they can fill in the Registration Form and when they click on Continue nothing happens
page dont change or anything.
We can sent out e-mails so we know the php()mail is working ok
I have re-uploaded the Your_Account module and still the same.
What could be causing this.
website is Only registered users can see links on this board! Get registered or login!
Cheers
Scorp |
Last edited by scorpious on Sun Oct 24, 2010 5:06 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sun Oct 24, 2010 3:24 pm |
|
Have you tried it with a standard RavenNuke theme? This would eliminate a theme conflict issue and help to narrow it down. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Oct 24, 2010 3:49 pm |
|
In addition, just so you know, RavenNuke(tm) from 2.40.x on requires that JavaScript be enabled on the browser. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
scorpious
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 4:29 pm |
|
Hi
Cheers for the reply
I changed the theme back to RavenIce and it worked fine, once I changed the theme back to the custom theme it stopped working.
Will have to check through the theme to see if I can spot anything.
Update
Have checked all the .php files and they seam ok with the theme, they all have the correct
Code:$db->sql_query($sql) $db->sql_fetchrow($sql)
|
and so forth, what could be causing this, as it worked perfect before the upgrade.
Cheers
Scorp |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sun Oct 24, 2010 5:26 pm |
|
This section at the very top of your code may be causing issues with the registration JS/form.
Code:<script language="JavaScript">startColor="#8F8971";endColor="#C07C3F"; </script> <script language="JavaScript" src="themes/Apollyon/fade.js"></script>
|
try finding that in your theme and removing it, then creating/uploading a file includes/addons/head-Apollyon.php
Code:if (stristr(htmlentities($_SERVER['PHP_SELF']), 'head-Apollyon.php')) {
Header('Location: ../../index.php');
die();
}
$inlineJS = '<script type="text/javascript">
startColor="#8F8971";endColor="#C07C3F";
</script>'."\n";
addJSToHead($inlineJS,'inline');
addJSToHead('themes/Apollyon/fade.js', 'file');
|
that may fix it, give it a try. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
scorpious
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 5:43 pm |
|
Hi spasticdonkey
Yes that works perfect now, however, at the top of the theme the code I placed in the head-Appllyon.php is visable ?
Cheers
Scorp |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 5:48 pm |
|
You need to add the opening php <? and closing ?> |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
scorpious
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 24, 2010 5:58 pm |
|
Cheers all, its all back and working perfect.
Many thanks for the Help and Advice
Scorp |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/5ed231554a8492e2e09da.gif)
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Sun Oct 24, 2010 6:06 pm |
|
Does anyone know any fader who works with Mozilla? I tested the fader on that site from scorpious but looks like Mozilla doesn't like it at all. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 1:40 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 2:17 pm |
|
Actually I don't want to fade menu, I would like to fade the entire site as I did already but the fader doesn't work with Mozzila, pitty because it is working with IE7, 8, Opera and Google Chrome but unfortunatly Mozilla 3.6 doesn't like that script.
Here is the script.
Code:var fadeTo = "00FF00";
var fiBy = 6;
var foBy = 10;
var speed = 10;
var ignoreClass = "ignore";
var opera, ie, dom, x = 0, oc, fader, ocs = new Array();
if (navigator.userAgent.indexOf("Opera") != -1) opera = true
else if (document.all && !opera) ie = true
else if (!document.all && document.getElementById) dom = true;
function convertRGB(z)
{
var newfcS = "", splitter = "";
splitter = z.split(",");
splitter[0] = parseInt(splitter[0].substring(4, splitter[0].length));
splitter[1] = parseInt(splitter[1]);
splitter[2] = parseInt(splitter[2].substring(0, splitter[2].length-1));
for (var q = 0; q < 3; q++)
{
splitter[q] = splitter[q].toString(16);
if (splitter[q].length == 1) splitter[q] = "0" + splitter[q];
newfcS += splitter[q];
}
return newfcS;
}
function currentColour(index)
{
var temp, cc;
if (opera) cc = document.links[index].style.color
else if (ie) cc = document.links[index].currentStyle.color
else if (dom) cc = document.defaultView.getComputedStyle(document.links[index], '').getPropertyValue("color");
if (cc.length == 4 && cc.substring(0, 1) == "#")
{
temp = "";
for (var a = 0; a < 3; a++)
temp += cc.substring(a+1, a+2) + cc.substring(a+1, a+2);
cc = temp;
}
else if (cc.indexOf("rgb") != -1) cc = convertRGB(cc)
else if (cc.length == 7) cc = cc.substring(1, 7)
else cc = fadeTo;
return cc;
}
function convert2Dec(hex)
{
var rgb = new Array();
for (var u = 0; u < 3; u++)
rgb[u] = parseInt(hex.substring(u*2, u*2+2), 16);
return rgb;
}
function newRGB(f, n, d)
{
var change;
if (d == 1) change = fiBy
else change = foBy;
for (var g = 0; g < 3; g++)
{
if (n[g] > f[g] && n[g] - change >= 0) n[g] -= change;
if (n[g] < f[g] && n[g] + change <= 255) n[g] += change;
}
return n;
}
function fade(index, d)
{
var fc, nc, temp = new Array(), finished = false;
nc = convert2Dec(currentColour(index));
if (d == 1) fc = convert2Dec(fadeTo)
else fc = convert2Dec(ocs[x]);
temp = convert2Dec(currentColour(index));
nc = newRGB(fc, nc, d);
if ((nc[0] == temp[0]) && (nc[1] == temp[1]) && (nc[2] == temp[2]))
finished = true;
if (!finished) document.links[x].style.color = "rgb(" + nc[0] + "," + nc[1] + "," + nc[2] + ")"
else clearInterval(fader);
}
function findLink(over)
{
if (document.layers) return;
if (fader)
{
clearInterval(fader);
document.links[x].style.color = "#" + ocs[x];
}
if (over && !this.id) this.id = over;
x = 0;
while (!(this.id == document.links[x].id) && (x < document.links.length))
x++;
if (this.id == document.links[x].id)
{
oc = currentColour(x);
fader = setInterval("fade(" + x + ", 1)", speed);
}
}
function clearFade()
{
if (document.layers) return;
if (fader) clearInterval(fader);
fader = setInterval("fade(" + x + ", 0)", speed);
}
function init()
{
for (var i = 0; i < document.links.length; i++)
{
ocs[i] = currentColour(i);
var currentOver = document.links[i].onmouseover;
var currentOut = document.links[i].onmouseout;
var ignoreIt = document.links[i].className == ignoreClass;
if (!ignoreIt) document.links[i].id = "link" + i;
if (!currentOver && !currentOut && !ignoreIt)
{
document.links[i].onmouseover = findLink;
document.links[i].onmouseout = clearFade;
}
}
}
if (opera || ie || dom) window.onload = init;
|
I hope someone give me a hand on this issue. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 3:05 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 3:56 pm |
|
Wow my friend! This is exactly what I want to do. Amazing, I will try to implement it on RavenNuke and then I will come back asap. Thank you very much. With this effect you don't want to go away from the site. This is so cool. I love it. This should be sticky forever. Step by Step we will fullfill and I am very sure we can bring Joomla users back for sure but it is still a long way to go. |
Last edited by hicuxunicorniobestbuildpc on Mon Oct 25, 2010 4:42 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 4:41 pm |
|
Dissapointed with that effect. I tested on RavenNuke but the effect is not better than I have.
example to call the script I show u above.
Code:if (stristr(htmlentities($_SERVER['PHP_SELF']), 'head-fade.php')) {
Header('Location: ../../index.php');
die();
}
echo "<script type=\"text/javascript\" src=\"scripts/fader.js\"> </script>"
. "<meta http-equiv=\"Page-Enter\" content=\"blendTrans(Duration=1.0)\">"
. "<meta http-equiv=\"Page-Exit\" content=\"blendTrans(Duration=1.0)\">"
. "<meta http-equiv=\"Site-Enter\" content=\"blendTrans(Duration=1.0)\">"
. "<meta http-equiv=\"Site-Exit\" content=\"blendTrans(Duration=1.0)\">\n";
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 25, 2010 5:21 pm |
|
Working now finally
Code:// Color for links to fade to:
var fadeTo = "FF0000";
// # of iterations from link color to fadeTo (1-255):
var fiBy = 5;
// # of iterations from fadeTo to link color (1-255):
var foBy = 5;
// Speed - milliseconds between each color change in the fade
// Less than 10ms doesn't really make all that much difference,
// 40-50 is recommended.
var speed = 50;
// Class name to ignore. You can ignore a link like this:
// <A HREF="some-file" CLASS="ignore">click me!</A>
var ignoreClass = "ignore";
// No more changes required (unless you know what you are doing)
// Enjoy...and email Daga and/or Fayez and let them know what
// site(s) you are using it on :)
var opera, ie, dom, ocs = new Array();
var fader = new Array(), scriptover = new Array();
var scriptout = new Array(), triplet = new Array();
var loader;
if (navigator.userAgent.indexOf("Opera") != -1) opera = true
else if (document.all && !opera) ie = true
else if (!document.all && document.getElementById) dom = true;
function convertRGB(z)
{
var newfcS = "", splitter = "";
splitter = z.split(",");
splitter[0] = parseInt(splitter[0].substring(4, splitter[0].length));
splitter[1] = parseInt(splitter[1]);
splitter[2] = parseInt(splitter[2].substring(0, splitter[2].length-1));
for (var q = 0; q < 3; q++)
{
splitter[q] = splitter[q].toString(16);
if (splitter[q].length == 1) splitter[q] = "0" + splitter[q];
newfcS += splitter[q];
}
return newfcS;
}
function currentColour(index)
{
var temp, cc;
if (opera) cc = document.links[index].style.color;
else if (ie) cc = document.links[index].currentStyle.color;
else if (dom) cc = document.defaultView.getComputedStyle(document.links[index], '').getPropertyValue("color");
if (cc.length == 4 && cc.substring(0, 1) == "#")
{
temp = "";
for (var a = 0; a < 3; a++) temp += cc.substring(a+1, a+2) + cc.substring(a+1, a+2);
cc = temp;
}
else if (cc.length == 7) cc = cc.substring(1, 7);
else if (cc.indexOf("rgb") != -1) cc = convertRGB(cc);
else cc = fadeTo;
return cc;
}
function convert2Dec(hex)
{
var rgb = new Array();
for (var u = 0; u < 3; u++) rgb[u] = parseInt(hex.substring(u*2, u*2+2), 16);
return rgb;
}
function fade(index, fi)
{
var newCol, curCol, endCol, i;
curCol = parseInt(currentColour(index), 16);
(fi) ? endCol = parseInt(fadeTo, 16) : endCol = parseInt(ocs[index], 16);
newCol = curCol + (triplet[index][0] * 65536) + (triplet[index][1] * 256) + triplet[index][2];
if (((newCol < endCol) && (curCol > endCol)) || ((newCol > endCol) && (curCol < endCol)) || (newCol == endCol) || (newCol <= 0) || (newCol >= 16777215))
{
clearInterval(fader[index]);
newCol = endCol;
}
newCol = newCol.toString(16);
for (i = newCol.length; i < 6; i++) newCol = "0" + newCol;
document.links[index].style.color = "#" + newCol;
}
function startFade(over, idNum, fi, start, fin, steps)
{
var current, fade, i;
if (over == document.links[idNum].id)
{
current = convert2Dec(start);
fade = convert2Dec(fin);
for (i = 0; i < 3; i++)
{
(fade[i] > current[i]) ?
fade[i] = Math.round((fade[i] - current[i] - 1) / steps) :
fade[i] = Math.round((current[i] - fade[i] - 1) / steps) * -1;
}
triplet[idNum] = fade;
if (fader[idNum]) clearInterval(fader[idNum]);
fader[idNum] = setInterval("fade(" + idNum + ", " + fi + ")", speed);
(fi) ? eval(scriptover[idNum]) : eval(scriptout[idNum]);
}
return true;
}
function findLink()
{
var idNum = 0;
if (document.layers) return;
while (!(this.id == document.links[idNum].id) && (idNum++ < document.links.length));
startFade(this.id, idNum, 1, ocs[idNum], fadeTo, fiBy);
return true;
}
function clearFade()
{
var idNum = 0;
if (document.layers) return;
while (!(this.id == document.links[idNum].id) && (idNum++ < document.links.length));
startFade(this.id, idNum, 0, fadeTo, ocs[idNum], foBy);
return true;
}
function init()
{
var x, i;
eval(loader);
for (i = 0; i < document.links.length; i++)
{
ocs[i] = currentColour(i);
var currentOver = document.links[i].onmouseover;
var currentOut = document.links[i].onmouseout;
var ignoreIt = document.links[i].className == ignoreClass;
if (!ignoreIt)
{
document.links[i].id = "link" + i;
if (document.links[i].onmouseover)
{
scriptover[i] = document.links[i].onmouseover.toString();
x = scriptover[i].indexOf("{") + 2;
scriptover[i] = scriptover[i].substring(x, scriptover[i].length - 2);
}
if (document.links[i].onmouseout)
{
scriptout[i] = document.links[i].onmouseout.toString();
x = scriptout[i].indexOf("{") + 2;
scriptout[i] = scriptout[i].substring(x, scriptout[i].length - 2);
}
document.links[i].onmouseover = findLink;
document.links[i].onmouseout = clearFade;
}
}
}
if (opera || ie || dom) window.onload = init;
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|