292961
patagon
Hello username, you have X new private messages
  • 2003/6/20 16:39

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi:

i would like to display in theme.html a welcome text saying: Hello username, you have X private messages. I figured the hello username part and I took the following code from somewhere (its diffucult to search for PM related messages since PM is only two words and XOOPS has a 3 word limit for searching):

<{if $block.new_messages > 0}>
<{$block.lang_inbox}> (<{$block.new_messages}>)
<{else}>
<{$block.lang_inbox}>
<{/if}>

But it doesnt work...anyone knows whats wrong with it? and or how to do it?

If you want to look for a sample of what I want to do the following site does exactly what I want:http://www.secondsquare.com
This is the site of a user here (dlh, I asked him how he did it but I guess he missed my post).

Thanks



292962
meme
Re: is that bug ?
  • 2003/6/20 8:58

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


please
need to count every visit

any help ?



292963
hal_u1
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/20 7:22

  • hal_u1

  • Just popping in

  • Posts: 5

  • Since: 2003/4/4 8


Since updating XOOPS from 2.0.2 to 2.0.3,
when I post a comment on XOOPSGallery, the link on Recent Comment Block is bad.
albumName and id are blank.
So I use 'session.php' of the patches by SirTanksAlot,
but there is still error,(ERROR: requested index [] out of bounds [43])
and URL is incorrect.(XOOPS_URL/modules/xoopsgallery/view_photo.php?albumName=&id=&xoops_imageid=111&com_id=20&com_rootid=20&com_mode=thread&com_order=0#comment20)

On Recent Comment block, the link seems to be the same.
(XOOPS_URL/modules/xoopsgallery/view_photo.php?xoops_imageid=111&com_id=20&com_rootid=20&com_mode=thread&albumName=&id=&#comment20)

There is no albumName and id.



292964
meme
is that bug ?
  • 2003/6/20 3:29

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


hi

when u visit a topic in newbb it count you only one time

i was thinking its only on my newbb but when i try it here its give the same result only one count

thanks



292965
kjs222
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/19 19:01

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


I believe he's saying that if you already have xoopsgallery installed and you upload this fix, you'll need to refresh the templates in order to see the change in the display. I'm not positive how templates work on the inside, but I can tell you that "SMARTY" is XOOPS template manager, and when a module is installed, smarty takes all the templates in the module/templates folder, copies them to a new location, and references them in the database. This means that if you try to simply upload a new template it won't show up (since smarty's templates are stored and referenced elsewhere). So, in order to change a template, you either have to:

a) upload it the normal way, then update the module (I'm pretty shure this should do it), or

b) go into the template manager (admin->System->templates) and modify the "Gallery" template file using the utility found there... of course, in order to modify the templates using the online tool, you'll need to clone the default template (you can modify ANY template except the default one).

Hope I did more help than confuse!
Keith



292966
DrBohner
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/19 17:33

  • DrBohner

  • Just popping in

  • Posts: 16

  • Since: 2003/4/4 1


M.,

You made a comment about refreshing the template - within the documentation, "Make sure you refresh your template files for this block"...

What does that mean?... I am not sure how to refresh the templates...

Daniel
drbohner@existinglight.net

http://www.sprintboat.org



292967
DrBohner
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/19 17:20

  • DrBohner

  • Just popping in

  • Posts: 16

  • Since: 2003/4/4 1


MAN - You R Quick!

Thanks for the good eye - I'll try to determine what it is... now that you've pointed me.

If you see something, too - please update me..

Daniel
drbohner@existinglight.net

http://www.sprintboat.org



292968
SirTanksAlot
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...

the image is there.. it's size is just set to height=0 width=0

<a href="http://www.sprintboat.org/modules/xoopsgallery/view_photo.php?xoops_imageid=2828&set_albumName=roosters&id=P6140313"><img src="http://www.sprintboat.org/modules/xoopsgallery/cache/albums/roosters/P6140313.thumb.jpg" width="0" height="0" alt="" />a>


I'm not sure if this picture has something bad in the database or if you are overriding the size settings somewhere...



292969
DrBohner
Re: XoopsGallery Fixes.. Recent Comments Link, New Pics Block showing thumbnail, etc...
  • 2003/6/19 16:58

  • DrBohner

  • Just popping in

  • Posts: 16

  • Since: 2003/4/4 1


M. Shirel,

I thought I had placed all the updated changes in their correct area - perhaps not.

My Random Images block is not displaying an image, anymore.

Can someone make a suggestion where I should look to make the fix?

<http://www.sprintboat.org>

Daniel
drbohner@existinglight.net



292970
domin
topic image...
  • 2003/6/19 9:55

  • domin

  • Just popping in

  • Posts: 11

  • Since: 2003/5/28


hi, all~

when uploading new article in admin mode, i'd like to
the 'yes' for 'Display Topic Image' as default(currently, 'no' as default)

could u give me answer for how i modify with related-scripts?

thanks!







Login

Who's Online

576 user(s) are online (337 user(s) are browsing Support Forums)


Members: 0


Guests: 576


more...

Donat-O-Meter

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

Latest GitHub Commits