101
mjoel
Re: Xoopspoll v1.40 Beta 1 - Ready for testing
  • 2014/5/22 2:53

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


i have this problem

chrome 35
Resized Image

Firefox 29

Resized Image



102
mjoel
Re: Publisher 1.0 Final ready for testing
  • 2014/5/21 12:01

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


lol i try the arhive redesign code from the topic
https://xoops.org/modules/newbb/viewtopic.php?post_id=163853

<table
  <
tr
    <
th><{$lang_newsarchives}></th
  </
tr

     
<{foreach 
item=year from=$years}> 
    <
tr class="even"
    <
td><{$year.number}></td
    </
tr
    <
tr class="odd"
    <
td
<{foreach 
item=month from=$year.months}> 
    <
a href="./archive.php?year=<{$year.number}>&month=<{$month.number}>"><{$month.string}> </a>&nbsp
  <{/foreach}> 
    </
td
  </
tr
 <{/foreach}> 
   
       
</
table>


and it also work in publisher..

hope this can be put in publisher...




103
mjoel
Re: Publisher 1.0 Final ready for testing
  • 2014/5/21 11:54

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


i would like to request for redesign for the publisher archives section...


i have article from 2009 until 2014..right now it lay-out a long list of months

is it possible to arrange it by month by year ?

something like
Year 2014
Jan. Feb etc


i have found a similar topic for the news module
https://xoops.org/modules/newbb/viewtopic.php?post_id=163853

anyone can do a hack for publisher ?



104
mjoel
Re: xBootstrap XOOPS Theme - Development
  • 2014/5/16 4:36

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


nice theme...congrats to all who worked on this

some issue and suggestion

- missing themes/xBootstrap/shot.gif for theme blocks
- forms not looking nice eg. modules/profile/edituser.php is this editable ?



105
mjoel
Re: †appearing in js file
  • 2014/5/16 2:48

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


SOLVED it finally

I solved it by replacing my mainfile.php..

Im using php 5.3.20 ..when i upgraded to xoops 2.5.7 i got blank page with several xoops footer.php error..

so i think i will wait when my host upgraded to 5.5x only then will choose 2.5.7




106
mjoel
†appearing in js file
  • 2014/5/15 7:57

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Hi

Im using XOOPS 2.5.6

I recently upgraded my website to xoops 2.5.7 but my mistake i dont check the PHP version of my host which is still 5.3.x

so i downgraded back to 2.5.6

now The website is working with 1 problem where my site cant load some js file properly including in admin pages

so all jquery is not loading

i checked there is character †appearing in some of the js file

some of the js file affected are

frameworks/jquery/jquery.js
modules/extgallery/include/fancybox/mousewheel.js
modules/extgallery/include/fancybox/fancybox.pack.js
modules/extgallery/include/fancybox/fancybox.css

when i edit the file in cpanel file manager i didnt see the †symbol but when accessing the js file directly i can see the †symbol appearing in the start and first line of the js file

i already reupload back all the file..but still same problem

my site is in UTF-8

my mistake that i didnt do a backup

any help ?



107
mjoel
Re: $xoops_isadmin, $xoops_isuser, but $xoops_<custom group>?
  • 2013/8/18 14:06

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Thank you mamba it works...



108
mjoel
Re: $xoops_isadmin, $xoops_isuser, but $xoops_?
  • 2013/8/18 10:58

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Quote:

Dave_L wrote:
This may help. I haven't tested it.

/**
 * Check whether current user is in specified group.
 *
 * @param string $group_name Name of group
 * @return bool True if user is in group, otherwise false
 */
function in_group($group_name) {
   global 
$xoopsUser;
   if (!
is_object($xoopsUser)) {
      return 
false;
   }
   
$member_handler =& xoops_gethandler('member');
   
$groups =& $member_handler->getGroupsByUser($xoopsUser->getVar('uid'), true);
   
$in_group false;
   foreach (
$groups as $group) {
      if (
$group->getVar('name') == $group_name) {
         
$in_group true;
         break;
      }
   }
   return 
$in_group;
}


Then you could assign a template variable:

$xoopsTpl->assign('in_subscribed_group'in_group('subscribed'));


Then in the template:

<{if $in_subscribed_group}>
   ...
<{/if}>


How do i use this if Im in custom php page ?

i tried this but not working
if ($in_group == 'nameofmygroup'
{
echo 
"In Group";
}   
else
{
echo 
"Not in Group";
}



109
mjoel
Re: Help with listing user of group with custom profile fields
  • 2013/8/7 12:20

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


https://xoops.org/modules/newbb/viewtopic.php?post_id=318130#forumpost318130

https://xoops.org/modules/newbb/viewtopic.php?post_id=321423#forumpost321423



110
mjoel
Re: Update request notify_method
  • 2013/8/7 11:42

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


UPDATE `xxxx_users` SET `notify_mode`=2;

change xxxx to your database prefix




TopTop
« 1 ... 8 9 10 (11) 12 13 14 ... 28 »



Login

Who's Online

164 user(s) are online (106 user(s) are browsing Support Forums)


Members: 1


Guests: 163


Mamba,

more...

Donat-O-Meter

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

Latest GitHub Commits