161
slyss
News 1.44 -> Show topic id in news_item.html
  • 2006/10/18 22:53

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi everyone

i need to know how i can take the topic id.

I need to work in the template news_item.html

for eg: <{ if $topic_id == 3 }> do this <{ /if }>

thanks a lot
[size=x-large]2008 Xoops Book[/size]



162
slyss
Re: Bug into 2.0.15
  • 2006/9/19 16:00

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


Quote:

jdseymour wrote:
Could be my problem also : Here?


yes... is this...
[size=x-large]2008 Xoops Book[/size]



163
slyss
Bug into 2.0.15
  • 2006/9/19 15:24

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


t looks an original bug of xoopsform.

please read this:

http://www.peak.ne.jp/xoops/modules/xhnewbb/viewtopic.php?topic_id=1663&post_id=6348&viewmode=thread#forumpost6348

bye
[size=x-large]2008 Xoops Book[/size]



164
slyss
Re: URLs to be Search Engine Friendly in xoops!!!
  • 2006/9/16 9:55

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


Quote:

m0nty wrote:
i don't think it's that important these days for search engines at least.. most if not all the major search engines, do NOT penalise you now and can read url's like xoops's.

as for user friendly that's a different story ;)


ok... i belive in you
[size=x-large]2008 Xoops Book[/size]



165
slyss
URLs to be Search Engine Friendly in xoops!!!
  • 2006/9/15 15:44

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi

first of all thanks for your time and your job... thanks by italian's users... and sorry for my bad english

my question is:

in the next version of XOOPS will be present the component to rewrites url of xoops? ... like: www.xoops.com/article-new-ipod-40-giga.htm ? ....

this feature is extremly important for seach engine...

this feature is called 404SEFx for mambo...

thanks a lot.... sly


here more info
[size=x-large]2008 Xoops Book[/size]



166
slyss
Help with template / query in myalbum-p
  • 2006/8/31 11:24

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi everybody

first of all sorry if my english is not good...

my problem:

i need to show in myalbum/index.php 2 thumb with

First thumb: model order by random

Second thumb: last model joined

so...

i have made this code:

[b]// code for MODEL ORDER BY RANDOM[/b]

$sql "SELECT imgurl ";
$sql.= " FROM ".$xoopsDB->prefix('myalbum3_cat');
$sql.= " ORDER BY rand()";
$sql.= " LIMIT 0 , 1 ";
$rs $xoopsDB->query($sql) or die($xoopsDB->error());

$xoopsTpl->assign('rs_rand'$xoopsDB->getRowsNum($rs));

[
b]// end code for MODEL ORDER BY RANDOM[/b]

[b]// code for LAST MODEL JOINED[/b]

$sql "SELECT imgurl ";
$sql.= " FROM ".$xoopsDB->prefix('myalbum3_cat');
$sql.= " ORDER BY cid DESC";
$sql.= " LIMIT 0 , 1 ";
$rs1 $xoopsDB->query($sql) or die($xoopsDB->error());

$xoopsTpl->assign('rs_last'$xoopsDB->getRowsNum($rs1));

[
b]// end code for LAST MODEL JOINED[/b]


Resized Image

now the problem: in this code i receive only the numbers of lines of the query (one)... but i need to receive the string with the result of the query

the problem, i think, is: $xoopsDB->getRowsNum

in the template i will go to use:

<img src="<{$rs_rand}>" border="0">
<
img src="<{$rs_last}>" border="0">


thanks for your help
[size=x-large]2008 Xoops Book[/size]



167
slyss
Re: image manager sorting problem
  • 2006/6/19 14:24

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


up
[size=x-large]2008 Xoops Book[/size]



168
slyss
Re: image manager sorting problem
  • 2006/6/18 7:57

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


Quote:

markoh wrote:
Hi i've got one website where the registred users use the image manager a lot.
The problem is that the sorting is done by the oldest images first.
The users have to navigate all te way to the back to see their added image.

how can i reverse this. so that the newest images are on the first page?


i have the same problem... someone can help me?

thnaks
[size=x-large]2008 Xoops Book[/size]



169
slyss
Re: MyAlbum 2.8.4 Error Warning
  • 2006/6/17 16:49

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


please download the latest version of myalbum: 2.87

http://www.peak.ne.jp/xoops/md/mydownloads/singlefile.php?lid=61&cid=1

best
[size=x-large]2008 Xoops Book[/size]



170
slyss
How i can translate date in database into a "real" date?
  • 2006/6/12 22:45

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi

i have one problem: my db store date like this 1143750536 but i what to print $date like normal....

how i can do this ?

thanks...

[i have see other posts in this forum but there aren't the solution...]

bye
[size=x-large]2008 Xoops Book[/size]




TopTop
« 1 ... 14 15 16 (17) 18 19 20 ... 22 »



Login

Who's Online

166 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 166


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