1
brandx
Re: TinyEditor 0.5 image problems
  • 2005/10/12 18:56

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


In firefox, no problem inserting images... the only issue i see with firefox is the variable names showing up for around 5 seconds then the page refreshes automatically and shows the proper names.

Has anyone got this editor / image manager working in internet explorer?



2
brandx
Re: TinyEditor 0.5 image problems
  • 2005/10/7 14:17

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


I've tested mine with Firefox 1.0 and here is the outcome

- The popup works great!
- the variables "&lang_xxxx" are shown for around 5 seconds then the page refreshes and the variables are shown correctly (i.e. Directory, Image File, Alt, width, etc..)

This really needs to work across most browsers though anyone have suggestions?

Also, I thought the documentation states that a user can have his / her own directory for images.. currently it displays all the images in the images directory. Any idea how to implement this?



3
brandx
TinyEditor 0.5 problems
  • 2005/9/14 1:28

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


I have the editor "almost" working but am running into a couple problems with the image management.

1. When i click on the add image button the window is size properly initially but immediately is resized to around 50px by 50px and cannot be resized. I've added the code stated in the documentation but i also feel there is a problem with it because the code in the section "Enable the thumb to popup feature" doesn't seem to be displayed properly, near the end of the function where code should be it shows an image with red X through it (right after the last writeln('... ).

--------------------------------

function myPopImage(imageURL,imageTitle) {

// Script Source: CodeLifter.com

//Set this values 20px larger
//than your biggest picture
PositionX = 100;
PositionY = 100;

defaultWidth = 680;
defaultHeight = 520;

var AutoClose = false;

// Do not edit below this line...

if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('');writeln('');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('');
if (!AutoClose) writeln('')
else writeln('');
writeln('');
close();
}
}
------------------------------------------
The above code was copied directly from the documentation

2. Another think i noticed is in a one second or so when the popup image management window is fully visible i'm seeing many variables names... just don't look right... here are some of them....

{$lang_imgmanager_dir}
{$lang_imgmanager_name}
{$lang_imgmanager_imgfile}
{$lang_imgmanager_alt}
{$lang_imgmanager_height}

etc.. etc.. etc... all buttons and text labels are like this.

I'm running XOOPS 2.0.13.1 and attempting to get the editor working with Zmagazine 1.0

Any help would be appreciated.

Geary



4
brandx
Complete back up and restore procedures?
  • 2005/9/13 20:14

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


Can someone point me in the right direction on the procedure for backing up a complete XOOPS website?

Downloading the site via ftp would take care of the file portion.

I'm mostly interested in backing up and restoring the complete database.

I have access to PHPmyadmin

Geary



5
brandx
sometimes poor performance???
  • 2005/9/12 20:53

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


I've been running XOOPS 2.0.13.1 for a couple weeks now onhttp://www.wildlifeinthecity.com and I'd say that a good 60 to 70% of the time page access and load times have been acceptable.... but sometimes it just takes sooooo long for a page to load!?

I've already confirmed that it's not my internet connection or my web hosts connection. (anywhere from 5 to 60 seconds)

Can anyone suggest how I could find out why this is happening?

Geary



6
brandx
Re: Adding User's Addresses
  • 2005/9/7 2:17

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


There are a couple different modules that may work for you...


https://xoops.org/modules/repository/singlefile.php?cid=81&lid=1101

https://xoops.org/modules/repository/singlefile.php?cid=98&lid=1154

https://xoops.org/modules/repository/singlefile.php?cid=108&lid=1370

You'll really need to download and install them to figure out if they will work for you...

Geary



7
brandx
Re: Pull forum signature into xfsection articles?
  • 2005/9/7 2:10

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


I've since switch from using xfsection to zmagazine. As i understand it they're pretty much the same any way....

I'm still interested in pulling user profile signatures into the articles that users create.

Anyone?

Cheers,
Geary



8
brandx
Re: The Quinte community - requesting reviews
  • 2005/9/7 2:04

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


Wow guys, thanks for the feedback :)

There is something called a "Screen Shot" image that can be enabled on the admin side. Seems like the image must be uploaded via FTP to a certain directory, from there you can select the image with a drop down list when editing a listing. Haven't tried it yet though.. I have a lot of work to do in both the xdirectory and links sections of the site.

XOOPs works so great... i'm pretty impressed.

So impressed that I've switched another one of my sites over
http://www.wildlifeinthecity.com

Cheers,
Geary



9
brandx
Pull forum signature into xfsection articles?
  • 2005/8/27 13:37

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


I was wondering if any one would now how to pull the signature that you define in your user profile into the body of an xfsection article. Just like it does on the forum post... only in the articles as well.

TIA,
Geary



10
brandx
Re: xdirectory and xoops 2.0.13.1
  • 2005/8/26 0:54

  • brandx

  • Just popping in

  • Posts: 23

  • Since: 2005/8/15


Ok, got this problem solved!

Open the the index.php file in the admin directory

Scroll down to line 151 (around line 151 anyway.. i'm using notepad which doesn't list the line numbers....)

Any who... it's the line that says

echo "<textarea name=\"description\" cols=\"60\" rows=\"5\">$description</text>\n";

If you look at this code you should see the problem.... The end tag only says "</text>". Simply modify it to say

</textarea>

and you should be up and running :)

Cheers,
Geary




TopTop
(1) 2 »



Login

Who's Online

127 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 127


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits