241
mjoel
Re: Can xoops modules do this?
  • 2007/11/14 18:03

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


welcome to xoops

try this

Userpage

WF-downloads



More here....



242
mjoel
Re: Random Member ... ?
  • 2007/11/14 15:17

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


$member_handler xoops_gethandler('member');
$criteria = new CriteriaCompo(new Criteria('level''0''>'));
$criteria->setSort('RAND()');
$criteria->setLimit(10);
$users $member_handler->getUserList($criteria);
foreach (
$users as $uid => $uname) {
    echo 
"<a href='".XOOPS_URL."/userinfo.php?uid=".$uid."'>".$uname."</a><br />";
}


can someone help me to update this code to include avatar



243
mjoel
Re: Youtube HotLink Gallery
  • 2007/11/7 19:55

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


thanks for the new release mcdonald...keep up the good work

Quote:

mjoel wrote:
i've successfully add these to the block
hits in new & random
date in top & random

and now still trying to figure out on how to add

- submitter, # of comments (in new,top & random videos block)


with my limited knowledge of programmming...

I'm surprised that i've finally solved this by myself



244
mjoel
Re: Youtube HotLink Gallery
  • 2007/11/5 9:42

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Quote:

McDonald wrote:
2. You have to extract these from the database table xoopstube_videos with the SELECT command and add them to the array in the blocks-file. After this you've to mod the html-templates.


thanks

i've successfully add these to the block
hits in new & random
date in top & random

and now still trying to figure out on how to add

- submitter, # of comments (in new,top & random videos block)



245
mjoel
Re: Youtube HotLink Gallery
  • 2007/11/5 7:33

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


i'm currently making some modification to the xoopstube template

i have several questions

1. how do i change the date format in the new video block
as example Mon, 05-Nov-2007 to 5/11/07

2. How do i add these

- submitter, hits, # of comments (in new videos block)
- submitter,date, number of comments (in top video block)
- date submission, submitter, hits, # of comments ( inrandom block)


thanks for the module



246
mjoel
Re: Change top users block to display random users
  • 2007/10/30 19:24

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


...an alternative solution is provided here

i should search harder next time..silly me

zyspec, anyway thanks for the help

p/s: it would be great if you can still give the answer for this thread ..w



247
mjoel
Re: Membership Site
  • 2007/10/30 19:09

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9





248
mjoel
Re: Change top users block to display random users
  • 2007/10/30 18:53

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


i noticed the typo before, so i tried it with ; and without ;

but i got the same result, blank page > Cannot pass parameter 1 by reference

update > clear template_c > refresh..

still same problem



249
mjoel
Re: Change top users block to display random users
  • 2007/10/30 16:18

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


debug message
Cannot pass parameter 1 by reference in C:\Program Files\xampp\htdocs\project2\modules\system\blocks\system_blocks.php on line 302



250
mjoel
Re: Change top users block to display random users
  • 2007/10/30 16:06

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


not working ..blank page after updating the system module...




TopTop
« 1 ... 22 23 24 (25) 26 27 28 »



Login

Who's Online

265 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 265


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