1
tcnet
Re: I'll Pay for Points/Rewards Module
  • 2011/3/1 1:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Take a look at Trabis' MyPoints module: http://www.xuups.com/modules/publisher/item.php?itemid=17



2
tcnet
Re: Media Player: Web Show
  • 2011/1/26 10:47

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Quote:
I have WebShow/Media Player on my menu - however would like to move "Categories" up to the top.


I may have misread your question. If you want to move "Category" to the top of the submenu items under the "WebShow" main menu item then edit webshow/xoops_version.php around line 150 to reorder the sub menu items.

// Menu
$modversion['hasMain'] = 1;

$modversion['sub'][2]['name'] = _MI_WEBSHOW_SMNAME2;
$modversion['sub'][2]['url'] = "category.php";
$modversion['sub'][3]['name'] = _MI_WEBSHOW_SMNAME3;
$modversion['sub'][3]['url'] = "topten.php?hit=1";

// Permission to add submit link.  Adapted from Herve Thouzard News Module
$module_handler =& xoops_gethandler('module');
$module =& $module_handler->getByDirname($modversion['dirname']);
if (
$module) {
    global 
$xoopsUser;
    
$groups is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;
    
$gperm_handler =& xoops_gethandler('groupperm');
    if (
$gperm_handler->checkRight("webshow_submit"0$groups$module->getVar('mid'))) {
       
$modversion['sub'][1]['name'] = _MI_WEBSHOW_SMNAME1;
       
$modversion['sub'][1]['url'] = "submit.php"
    }
}



3
tcnet
Re: Media Player: Web Show
  • 2011/1/25 13:42

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi Webowner,
WikiWebShow.com is home base for the development of the WebShow Module for XOOPS. There you will find the module's development news, docs, demos and the support forum.

Quote:
I have WebShow/Media Player on my menu - however would like to move "Categories" up to the top.


"Category" is a submenu item under the main menu item "WebShow". You would need to create a custom menu to have a submenu listed above a main item.

A simple solution might be to add the WebShow Category Block and then weight it above the Xoops main menu block. Not exactly what you are asking for but close.

Quote:
enter in text below the media player itself so when someone plays a sound file - the title of what is being played is shown.


If the media entry is using an xml playlist the currently playing media title should display in the data box below the player. Open the admin's media editor and select data box as one of the items displayed with that media page. Demo here: http://wikiwebshow.com/modules/webshow/singlelink.php?lid=38

Quote:
I also need help please adding a PlayList to the site.


Upload your playlist to uploads/webshow/playlist. Open the media editor, select Add new media, select the source as a playlist then enter the playlist's url (yoursite/uploads/webshow/playlist/yourplaylistname). Please see this tutorial: http://wikiwebshow.com/modules/webshow/singlelink.php?lid=24

WebShow can also create an xml playlist from a directory. Upload your media files to modules/webshow/media/yourfolder/. Open the webshow media editor, select add new media, select directory as the source, select a media file type and then enter yourfoldername.

The module will read your media directory, filter for the specified file type and write a playlist. Webshow's XSPF playlist generator automatically creates an XML playlist that includes the media file's name, link, creator (artist), category(album) and image link. Please see this tutorial : http://wikiwebshow.com/modules/webshow/singlelink.php?lid=21

Thanks for trying the webshow module. In the future please request support in the forum at WikiWebShow.com.



4
tcnet
Re: Display the Whos Online Block from a Theme
  • 2011/1/1 14:49

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Client did not want to install additional files or modify core files. This application required all code in the theme.



5
tcnet
Display the Whos Online Block from a Theme
  • 2011/1/1 14:32

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Want to display the Who's Online block anywhere in a theme? This worked for me.

<{php}>
$block b_system_online_show();
print 
"
".$block['online_total']."".
$block['lang_members'].": ".$block['online_members']."".
$block['lang_guests'].": ".$block['online_guests']
.
"".
$block['online_names']
.
"javascript:openWithSelfMain('".XOOPS_URL."/misc.php?action=showpopups&type=online','Online',420,350);&92" title=&92"".$block['lang_more']."&92">
    "
.$block['lang_more']."

"
;
<{/
php}>


EDIT: The backslash is not displaying with dhtml editor. Manually replace &92 with backslash.




6
tcnet
Re: XOOPS 2.5 Problem with Javascript in Redirect_Header
  • 2010/12/7 14:32

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Alot of older modules use this code in redirects. Shouldn't this be repaired to insure backwards compatibility?

@ghia
Thanks for the fix!



7
tcnet
XOOPS 2.5 Problem with Javascript in Redirect_Header
  • 2010/11/28 23:14

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


There seems to be a problem with javascript in the redirect_header function since 2.5 upgrade.

This results in an error page now:
redirect_header("javascript:history.go(-1)"3_NOPERM);


Happens with and without jgrowl.

Anyone else having this problem?



8
tcnet
Re: Redirection time
  • 2010/9/15 12:00

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Which one? The redirect time is different for every occurance. Look in the php code used before the redirect occurs.

Find this code and modify the second variable.
exampleredirect_header($redirecturl$time$message);
redirect_header('index.php'5_US_NOPERMISS);



9
tcnet
Re: Block on a specific page
  • 2010/8/26 20:55

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


<{$xoops_requesturi}> returns the url of the current page. if $xoops_requesturi = your articles url then show the block.

Try something like this in the module template:
<{if $xoops_requesturi== "http://swayamsat.org/... linical-hypnotherapy.html"
}> 
<{
$xoops_block_125.content}>
<{/if}>



10
tcnet
Re: a very simple question
  • 2010/6/15 1:59

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You can not link to a custom block. You will need to wrap xoops around your code to create a new web page.
Take a look at this faq: include my own HTML pages in xoops




TopTop
(1) 2 3 4 ... 21 »



Login

Who's Online

136 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

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

Latest GitHub Commits