291451
YourHelp
SQMAIL PROBLEM
  • 2003/10/5 0:59

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Hi

I just installed the squirril mail module into XOOPS 2.0.5 and i don't know if there are primissions suppose to be set on files or not something is going wrong anyway click here to access my squrril mail as you can see its a blank page.http://www.ultima7.com/njm/modules/sqmail/src/login.php


YH



291452
ffabris
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/10/5 0:53

  • ffabris

  • Just popping in

  • Posts: 16

  • Since: 2003/10/4


Thanks for the reply. It may help, but can we back up a bit please? First of all, where/how can a description be edited to start with? If I look at the list of albums on the gallery index, I see something like this (for each album):

Quote:
Fab[edit title]
Description
Owner ffabris
Administration [delete album][move album][rename album][edit captions][permissions]
Last Update 2003/10/2 4:39
Items 218
Views 67 (since 2003/10/2 1:01) [reset counter]

In other words, no link to edit the desc. I've looked all over, including the properties popup, permissions, on View Album...

This has been a problem from before I made any changes to the code, so I doubt it is something I introduced. (Oh, I've gone back to <{$album.album_desc}> since you said that works for you, but it doesn't for me.)

Thanks very much for the other suggestions you gave... I will try them out, but until I can actually put something in the description, there's not much point.

Fab



291453
gstarrett
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/10/5 0:36

  • gstarrett

  • Friend of XOOPS

  • Posts: 174

  • Since: 2002/3/12


Quote:

ffabris wrote:
I am left with one problem which I have been unable to solve, and that is the album description. I tried the fix suggested but that did nothing. I also tried using $album.description instead of $album.album_desc in xoopsgallery_index.html, but that didn't help either.

Not only does the description not appear, I can't even find where I might be able to change it. Looking at the code in view_album.php suggests that there should be link to edit the description on the gallery page, much like the one to edit the album title, but I get no such link.


In my XoopsGallery, the descriptions seem to be working properly. You can set them on a main album from the default page and for a sub-album when looking at the entry in it's parent album via the admin drop-down list. The descriptions appear on the main page for top level albums and in normal text immediately after the name for sub-albums.

I have <{$album.album_desc}> for the smarty tag on the pages for the description.

I've also modified my XoopsGallery--looking at what you wrote, perhaps you were looking for the description to appear below the Album Name on View Album and View Photo pages (which would seem appropriate for copyright notices). You can do that by doing the following:

In both view_album.php and view_photo.php, find this one line:
$xoopsTpl->assign('album_title'$gallery->album->fields["title"]);

and copy it to 2 lines and change 2nd to description:
$xoopsTpl->assign('album_title'$gallery->album->fields["title"]);  
$xoopsTpl->assign('album_desc'$gallery->album->fields["description"]);


Then change the first 2 lines in \templates\xoopsgallery_viewalbum.html and \templates\xoopsgallery_viewphoto.html to:
<h4><{$album_title}></h4>  
<
p><{$album_desc}></p>


Hope this helps.



291454
mvandam
Re: Using $_SESSION variables
  • 2003/10/5 0:23

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Can you provide a little more detail about what you are trying to do?

I doesn't look like you need $_SESSION or $HTTP_SESSION_VARS to do what you are describing since you are using your own database tables and your own id number.

Also, why not use mod_rewrite (if you're using apache) or www.mysite.com?memid=11078 instead of the 404 trick?



291455
Yoshi
A bug in options display in polls
  • 2003/10/5 0:03

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hi,

I tried 2.0.5RC and just noticed a bug in its polls. It's such an obvious one that I'm sure the team has already spotted this, but I'd like to report here just in case.

In the polls admin after you submit a new poll and go back to edit it, all the options are set to the value of the last option. The options all look okay when you take the poll, so I suspect it's a problem somewhere in the skin, not the program core.

I tried replacing the entire xoopspoll module with the older ones, but it didn't do any good.

BTW, is there any quick solution without going back to the 2.0.4?



291456
ffabris
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/10/4 22:21

  • ffabris

  • Just popping in

  • Posts: 16

  • Since: 2003/10/4


The fixes given by SirTanksAlot, along with others, helped me a great deal, though I still had to do some manual tweaking. For instance, I initially used all the files in the archive which SirTanksAlot provided, and that "killed" XoopsGallery entirely. So I went back and applied just those fixes which seemed to apply to problems I had, and that worked. Mostly.

I am left with one problem which I have been unable to solve, and that is the album description. I tried the fix suggested but that did nothing. I also tried using $album.description instead of $album.album_desc in xoopsgallery_index.html, but that didn't help either.

Not only does the description not appear, I can't even find where I might be able to change it. Looking at the code in view_album.php suggests that there should be link to edit the description on the gallery page, much like the one to edit the album title, but I get no such link.

I did discover that descriptions seem to be stored in the album.dat files, so I tried editing one of them (replaced the word "No" with "AA"), but that didn't help at all - not surprisingly, I guess.

Since my albums each contain art by individual artists, I very much want/need to use the description to display the artists' copyright notices, and this has had me stumped for hours already. Any pointers/suggestions would be appreciated!

Fab

P.S This is with XOOPS 2.0.5 RC, btw. And yes, I have been refreshing the module with every change I make.



291457
GIJOE
Re: Problems with MyAlbum-p
  • 2003/10/4 22:20

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


There is no problem with environments nor configs.

No photos can't be uploaded yet?

If you can't do yet, check the size of photos and change "max file size","max photo height","max photo width" in preference of myAlbum-P.



291458
tayling
Using $_SESSION variables
  • 2003/10/4 22:07

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


G'day
I would like to create some session variables on login to my site. I cant seem to do this in XOOPS - is there a reason?

What I am trying to do is to allow XOOPS to display information depending on the url - I am allowing a membership number to be added to the url i.e. www.mysite.com/10078 and then using error404 page to get the member number and call the main site back up passing it the id and display the users name automatically on the site.
I am using a separate MySQL table and search for the id - then set a session up with the user info. I have this working in my non XOOPS site but am having trouble replicating it within xoops.

Any great ideas guys?

Thanks
Tony Ayling



291459
Mithrandir
Re: dynamic sub-menus - proposal to change xoops menus

I think what Mrgym wants is a menu with submenus, depending on the user status/groups.

I could use it myself for my Team Module. For anonymous users, there should only be links to Rosters and Matches - but for registered users (who are on a team) there should also be a link to the Tactics section. I have solved that with a module block - but it would be nice with it integrated in the main menu to avoid multiple navigation menus.



291460
jlm69
How to remove ratings in xdirectory
  • 2003/10/4 19:55

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I would like to remove the ratings in the xdirectory module.
I have removed the link to "Rate This Business" but when you look at the listing it still says "Rating: 0.00 (0 votes)"
How can I remove that line? Any help would be greatly appreciated. Thanks.







Login

Who's Online

144 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 144


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