PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 1:35 pm Reply with quote Back to top

Not using ShortLinks.

The theme is the Kalgash Dreams
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 24, 2009 1:49 pm Reply with quote Back to top

You'll have to wait for jestrella to post back cause I rally have no idea Sad
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 1:53 pm Reply with quote Back to top

There is no rush whatsoever as I don't use CP on that particular site ... yet, but plan to at a future date. Never too early to start things tho ..

Cheers
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1364
Location: Texas, USA

PostPosted: Tue Feb 24, 2009 2:32 pm Reply with quote Back to top

If you are using an old theme it's possible that there are errors that browsers can tolerate, but the export to pdf function cannot. Seems like I read somewhere that it can be a little "touchy"

Have you checked the page for validation errors and warnings? The Tidy html validator addon for firefox comes in handy often Smile
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 3:07 pm Reply with quote Back to top

I run Tidy all the time as an extension in Firefox and it doesn't particularly care for PHP generated HTML pages. There are no generated errors other than the one I posted here.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 3:56 pm Reply with quote Back to top

Found the problem, there is a javascript file that is called to fade the mouseovers in the menu links and most everywhere else there is a link. Commenting out the "fade.js" file in theme.php will cause CP PDF to work now. For the benefit of those interested, here is fade.js
Quote:
/*************
**** <config>
**/
stepIn = 20; // delay when fading in
stepOut = 20; // delay when fading out

/*
** set to true or false; true will
** cause all links to fade automatically
***/
autoFade = true;
/*
** set to true or false; true will cause all CSS
** classes with "fade" in them to fade onmouseover
***/
sloppyClass = true;
/**
**** </config>
**************/
/*************
**** <install>
**
**
**** </install>
**************/

hexa = new makearray(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";

document.onmouseover = domouseover;
document.onmouseout = domouseout;

startColor = dehexize(startColor.toLowerCase());
endColor = dehexize(endColor.toLowerCase());

var fadeId = new Array();

function dehexize(Color){
var colorArr = new makearray(3);
for (i=1; i<7; i++){
for (j=0; j<16; j++){
if (Color.charAt(i) == hexa[j]){
if (i%2 !=0)
colorArr[Math.floor((i-1)/2)]=eval(j)*16;
else
colorArr[Math.floor((i-1)/2)]+=eval(j);
}
}
}
return colorArr;
}

function domouseover() {
if(document.all){
var srcElement = event.srcElement;
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1))
fade(startColor,endColor,srcElement.uniqueID,stepIn);
}
}

function domouseout() {
if (document.all){
var srcElement = event.srcElement;
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1))
fade(endColor,startColor,srcElement.uniqueID,stepOut);
}
}

function makearray(n) {
this.length = n;
for(var i = 1; i <= n; i++)
this[i] = 0;
return this;
}

function hex(i) {
if (i < 0)
return "00";
else if (i > 255)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];}

function setColor(r, g, b, element) {
var hr = hex(r); var hg = hex(g); var hb = hex(b);
element.style.color = "#"+hr+hg+hb;
}

function fade(s,e, element,step){
var sr = s[0]; var sg = s[1]; var sb = s[2];
var er = e[0]; var eg = e[1]; var eb = e[2];

if (fadeId[0] != null && fade[0] != element){
setColor(sr,sg,sb,eval(fadeId[0]));
var i = 1;
while(i < fadeId.length){
clearTimeout(fadeId[i]);
i++;
}
}

for(var i = 0; i <= step; i++) {
fadeId[i+1] = setTimeout("setColor(Math.floor(" +sr+ " *(( " +step+ " - " +i+ " )/ " +step+ " ) + " +er+ " * (" +i+ "/" +
step+ ")),Math.floor(" +sg+ " * (( " +step+ " - " +i+ " )/ " +step+ " ) + " +eg+ " * (" +i+ "/" +step+
")),Math.floor(" +sb+ " * ((" +step+ "-" +i+ ")/" +step+ ") + " +eb+ " * (" +i+ "/" +step+ ")),"+element+");",i*step);
}
fadeId[0] = element;
}


Cheers

Unfortunately I'm not savvy enough to have a clue as to why the fade.js causes it to not work. Bang Head
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Tue Feb 24, 2009 6:14 pm Reply with quote Back to top

dad7732 sorry but what's the theme that you're using? can i get it from somewhere?
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 6:52 pm Reply with quote Back to top

From my above post:
Quote:
The theme is the Kalgash Dreams


Note: Kalgash seems to be unresponsive but you can download an unmodified copy from my site:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
gyrotwister
New Member
New Member


Joined: Nov 21, 2006
Posts: 6

PostPosted: Wed Mar 11, 2009 3:43 pm Reply with quote Back to top

I have some problems with the printing to PDF. If I print to PDF than the pictures won't show up in the output.

Also when I print the tables I have used in the pages will be printed disorted.

More heard about these problems?

With kind regards,

GyroTwister
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Mar 11, 2009 5:57 pm Reply with quote Back to top

What version of content plus are you using. The latest is 2.2.2 for RavenNuke.
View user's profile Send private message Send e-mail Visit poster's website
gyrotwister
New Member
New Member


Joined: Nov 21, 2006
Posts: 6

PostPosted: Thu Mar 12, 2009 6:59 am Reply with quote Back to top

Code:
Module Copyright © Information
Content Plus module for PHP-Nuke & Derivatives

--------------------------------------------------------------------------------
 Module's Name: Content Plus
 Module's Version: 2.2.2
 License: GNU/GPL
 Author's Name: Jonathan Estrella
 Author's Email: jestrella04 (at) gmail (dot) com
 Module's Description: Revamped Content Module
 Module's Download: Download


As found in the copyright.....
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Thu Mar 12, 2009 7:10 am Reply with quote Back to top

Quote:
The latest is 2.2.2 for RavenNuke


On Jonathan's site right now and all I can find is 2.2.1
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Thu Mar 12, 2009 8:43 am Reply with quote Back to top

The one that came with the RavenNuke 2.30.01 is 2.2.2.
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Thu Mar 12, 2009 8:49 am Reply with quote Back to top

Gotcha .. One less hair to pull out now.

Thanks/Cheers
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum