The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop on tags.
Author Message
Sirocco
Apprentice
*

Posts: 3
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2015
Reputation: 0



Post: #7
RE: Loop on tags.
make it self with sources

Code:
[FUNCTION f_arraysort]
if !strlen(<args>)
    local.count = "0"
    return 0
endif
if <eval((<args> / 1000) * 1000)> > 0
    local.count = "<eval(<args>)>"
elseif <eval((<args> / 100) * 100)> > 0
    local.count = "0<eval(<args>)>"
elseif <eval(<args> / 10)> > 0
    local.count = "00<eval(<args>)>"
elseif <eval(<args> / 10)> == 0
    local.count = "000<eval(<args>)>"
endif
return 1


fortags member_*
    local.num = 0<local.num> + 1
    plocal.char= <local._var_value>
    call f_arraysort <plocal.char.tag.char_questnumber>
    ptag.charexp<local.count>_<plocal.char.uid> = <plocal.char.uid>
endfor

local.place = <eval <tag.char_count> + 1>
forptags charexp*
    local.place = <local.place> - 1
    plocal.char= <local._var_value>
    tag.temp_<eval(<local.place>)> = <plocal.char.uid>
endfor

fortags temp_*
//
endfor
02-08-2016 06:04 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Loop on tags. - rastrero - 01-22-2016, 03:57 PM
RE: Loop on tags. - darksun84 - 01-22-2016, 07:24 PM
RE: Loop on tags. - rastrero - 01-23-2016, 01:42 AM
RE: Loop on tags. - darksun84 - 01-23-2016, 02:59 AM
RE: Loop on tags. - rastrero - 01-23-2016, 04:46 AM
RE: Loop on tags. - karma - 01-23-2016, 06:11 AM
RE: Loop on tags. - Sirocco - 02-08-2016 06:04 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)