1
Gamut
xcGallery Custom Block Help
  • 2004/4/29 0:41

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


I was wondering if one of the resident gurus could give some advice.

I am wanting to create a custom block containing the thumbnail pictures (clickable and with description)from one specific album from xcGallery.

I know how to create a custom block but am not sure what code I need to put into it to extract the relevant material from xcGallery. This block will go on the top page of a site.

Thanks in advance for your help.

Cheers,

Gamnut



2
Gamut
Re: Hack for multi upload atavars
  • 2004/4/7 6:56

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Ok I have just tried this multi-load avatar hack and got the following error:

Fatal error: Undefined class name 'wfslists' in /home/phoenix/public_html/modules/system/admin/avatars/main.php on line 69

This hack refers to a non-existent "wfslists.php" from WF-Sections class directory. Unfortunately there is no such file.

The part of the code in the hack that causes this problem is as follows:

include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
include_once XOOPS_ROOT_PATH . "/modules/wfsection/class/wfslists.php";
$iform = new XoopsThemeForm( _MD_ADDAVT, 'avatar_form', 'admin.php' );
$iform->setExtra( 'enctype="multipart/form-data"' );
$graph_array = &XoopsLists::getImgListAsArray( XOOPS_ROOT_PATH . "/uploads/cache"
);
WfsLists::getarray( XOOPS_ROOT_PATH . "/uploads/cache" );
echo $htmlarray;
$atvarslisting = array();



Clearly 2 things need to be changed, but to what? (wfsfiles?, wfstree?...???)

(1)XOOPS_ROOT_PATH . "/modules/wfsection/class/wfslists.php";
(2)WfsLists::getarray

Any advice would be greatly appreciated as I do not want to upload avatars one by one. (I am amazed that the avatar management is actually worse than it used to be in earlier XOOPs versions!)



3
Gamut
Re: Amazon, Hot or Not, phpNuke and Xoops
  • 2004/3/13 0:19

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Parody, Draven, Eikke,

How is the progress going on this Amazon books module?

Cheers,

Gamut



4
Gamut
Re: WF-Channel Browser Title Bar Text
  • 2004/3/12 11:30

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Just go to Admin / Modules page. Under each module image is their name in a text box, which you can modify as you wish. Then press submit.

Cheers,




5
Gamut
Re: questioner module !
  • 2004/2/28 11:47

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


I am not quite sure if this is what you are after but there is a forum thread about a module called myQuiz here.

I have not used it so cannot say how good it is.



6
Gamut
Re: How to "clone" Tiny Content
  • 2004/2/3 13:45

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Sorry to bump, but I really need to know this so I don't stuff up my next install attempt with a clone of TinyContent

Does "tc_wysiwyg" need to be replaced as well with "modulename_wysiwyg"? It is located in several places in the files xoops_version.php and index.php.

Cheers,

Gamut



7
Gamut
Re: How to "clone" Tiny Content
  • 2004/2/2 11:40

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


I followed the inistruction the first time and must have overlooked something cos the clone broke. Anyway I am giving cloning Tinycontent another go with a clean copy.

I have followed all instructions listed here.

Does "tc_wysiwyg" need to be replaced as well with "modulename_wysiwyg"? It is located in several places in the files xoops_version.php and index.php.

Cheers,

Gamut



8
Gamut
Re: Amazon, Hot or Not, phpNuke and Xoops
  • 2004/1/5 4:07

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


One of the best book modules I have seen was the postnuke one athttp://pn-mod-books.sourceforge.net/

A while back I asked if anyone was working on or planning to work on a port of this mod to Xoops, but got no reaction.
(See thread athttps://xoops.org/modules/newbb/viewtopic.php?topic_id=11880&forum=4#forumpost52195 )

What I liked about this mod was it's potential to support multiple affiliate commission links per book title and not just Amazon, which you can see in an implementation of pnbooks athttp://www.bauphysik.com/modules.php?op=modload&name=Books&file=view_cat&cid=2 .

For those working on the books module, maybe there might be some good ideas in the pnbooks mod to stimulate development.

I know I have desperately needed such a mod for 18 months.

Cheers,

Gamut



9
Gamut
Re: Help with Switching between Javascript and Html Menu
  • 2003/12/18 7:06

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


Horacio,

That is brilliant! I will stick with what I have got then until the release. I honestly didn't expect such a module so soon.

Thanks for the advice,

Gamut



10
Gamut
Help with Switching between Javascript and Html Menu
  • 2003/12/17 12:40

  • Gamut

  • Just popping in

  • Posts: 34

  • Since: 2002/1/5 1


I have recently installed a dropdown menu - HV Menu v5.411 by Ger Versluis fromhttp://www.dynamicdrive.com which runs in a wide range of browsers and version (from IE and Netscape 4 upwards as well as Opera 7.)

It works fine. I realise that some people turn their scripting off to avoid nasties so I have a crude method of allowing for degrading by having the javascript HV Menu floating over the html horizontal navbar menu. In testing when the browser scripting is turned off then the html horizontal navbar menu shows.

Sometimes when i have browser scripting on there is a slight lag in the page loading and for a brief time the html horizontal navbar menu shows before the HV Menu loads properly. As this is kind of ugly I was wondering if someone could advise me on how to code a neater solution along the lines of.... If the client browser scripting is turned off then show the Html Menu, Else show the HV Menu.

The HV Menu script in theme.html is as follows...
<script type='text/javascript'>
//HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visithttp://www.dynamicdrive.com for this script and more
function Go(){return}
</script>
<script type='text/javascript' src='<{$xoops_url}>/hvmenu/tntmenu1_var.js'></script>
<script type='text/javascript' src='<{$xoops_url}>/hvmenu/menu_com.js'></script>

tntmenu1_var.js contains the following functions but I am not sure if/how to use them...

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

Any advice from a javascript guru would be helful. If I can get this working I would be happy to share this static horizontal dropdown dhtml/javascript solution here.

Cheers,

Gamut




TopTop
(1) 2 3 »



Login

Who's Online

202 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 202


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