You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 81 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Few questions [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Sat May 05, 2007 3:40 pm Reply with quoteBack to top

Hi there,

I didn't know where to post this, so I'll do it here because it's mostly about the modules of PHP-Nuke + phpBB forums.

So first of all, I would like to know how to make empty modules.
I wanna write some texts and information about things, not reviews or news or something else, but more like free empty pages (like HTML)

Second, which image gallery is the best for php-Nuke to be a module of it, to fit with the theme of the php-Nuke, etc.
I don't need anything complex, just need thumbs of the picture, and to be able to categorise them. I'm not interessted in private galleries for each user etc.

And the last question is about blocks. Can I change somehow the order of the blocks, like blocks appear diffirently in each module. For example: I don't need any blocks in the Forum module, so I don't wish them to appear there, but in another module they should appear however I order them.

Thanks, G.
Find all posts by Griever_RebornView user's profileSend private message
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Sat May 05, 2007 5:53 pm Reply with quoteBack to top

Griever_Reborn wrote:

So first of all, I would like to know how to make empty modules.
I wanna write some texts and information about things, not reviews or news or something else, but more like free empty pages (like HTML)
http://nukecops.com/PHP-Nuke_creating-modules.html . See example below
Code:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
$index = 1; // value 1 shows right blocks value 0 shows left
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
include("footer.php");
?>


Griever_Reborn wrote:

Second, which image gallery is the best for php-Nuke to be a module of it, to fit with the theme of the php-Nuke, etc.
I don't need anything complex, just need thumbs of the picture, and to be able to categorise them. I'm not interessted in private galleries for each user etc.

I would do a search for gallery modules for php-nuke , however, a lot of people like http://gallery.menalto.com .

Griever_Reborn wrote:

And the last question is about blocks. Can I change somehow the order of the blocks, like blocks appear diffirently in each module. For example: I don't need any blocks in the Forum module, so I don't wish them to appear there
In the theme.php file of your theme , find
Code:
blocks(left);

and replace with
Code:
if ($name=='Forums') {
  /* Don't display it. */
}
else {
  blocks(left);
}
If you wanted to hide the left blocks in different modules, then you could use something like
Code:
if ($name=='Forums' || $name=='Members_List' || $name=='Private_Messages') {
  /* Don't display it. */
} else {
  blocks(left);
}
You would also have to add the $name to the list of global variables in themeheader(): See below
Code:
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi, $name; 
All of this can be found here --> http://nukecops.com/PHP-Nuke_hide-left-blocks.html .

_________________
Go Go Buckeyes!!
Find all posts by hueView user's profileSend private messageICQ Number
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Sun Jun 17, 2007 3:52 am Reply with quoteBack to top

I haven't worked for a while after I posted this, but I've finished now with all of it, and it works, so thanks a lot hue.
I tried the Gallery and Coppermine, and Coppermine is the right choice for me.

Anyways, I have further questions:

1. I learned about making modules with those links you gave me.
And all those must be like modules -> http://your_website.com/modules.php?name=Module_Name, but you have achieved not to have this "module" part -> http://nukecops.com/PHP-Nuke_creating-modules.html
Is that another way to create modules, or is it the same, but you only made HTML pages which redirect to modules.php?name=Module_Name?

2. I always get these long URLs for stuff, for example: I'm the second user on my PHPNuke site and therefore I have this URL to my account: "http://my_website.com/modules.php?name=Forums&file=profile&mode=viewprofile&u=2&sid=0536a879de6f7e574d5b4056a9920205".
It looks like a random ending with no sense at all, cause I can just type the URL without the "&sid=0536a879de6f7e574d5b4056a9920205" ending. This appears as well on forum posts, forums, categorys. Can I cut somehow that part?
(I use PHP-Nuke 7.9 with integrated phpBB forum which you made)

3. I have purchased tufat's FlashChat (link: http://www.tufat.com/s_flash_chat_chatroom.htm) and wondered if it can be integrated as a PHP-Nuke module. I went to tufat's community forums but they said that they discontinued with modules for a long time. So I'm asking did you, nukecops, made a module for it or something like that?
And/or could I ask for support here?

Best regards, G.
Find all posts by Griever_RebornView user's profileSend private message
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Thu Jun 21, 2007 3:22 am Reply with quoteBack to top

I have one further question, but please look at the other ones posted before, too:

4. I read about hiding the left and right blocks, but I want to have certain blocks in certain modules, to have it like a navigation for the modules. Like one-time appearing blocks.
So is that possible? If yes - how?
Find all posts by Griever_RebornView user's profileSend private message
beanwebb
Sergeant
Sergeant


Joined: Mar 01, 2003
Posts: 81


PostPosted: Thu Jun 21, 2007 6:17 am Reply with quoteBack to top

I can answer some of these questions:

1:

This is called google tap, the HTML files dont actually exist, its done by the server, the server automatically converts the link to the long one phphuke needs to find the neccessary page. Although not all servers will let you do this.

2:

The long line of numbers/letters are your session ID, this allows phpBB to know who you are, I believe there is a way to change this in the admin forum pages, not too sure where it is though. Also you can type the urls without it and phpbb will still find your profile.

3

Im not too sure about this, it may be someone will need to turn it into a module for you, if possible.

4

I dont think this is possible, unless there are any mods out there for it. But never heard of any.

_________________
http://funportal.beanwebb.com : Funportal - Home of NukeJokes and the Invision Board port
http://www.beanwebb.com : Beanwebb.com - Hundreds of free games to play plus loads more!
Find all posts by beanwebbView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12388


PostPosted: Thu Jun 21, 2007 10:56 am Reply with quoteBack to top

You shouldn't be seeing sid in the url unless you have cookies disabled

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Thu Jun 21, 2007 11:15 am Reply with quoteBack to top

Evaders99 wrote:
You shouldn't be seeing sid in the url unless you have cookies disabled


You were right.
Cheers. Smile
Find all posts by Griever_RebornView user's profileSend private message
beanwebb
Sergeant
Sergeant


Joined: Mar 01, 2003
Posts: 81


PostPosted: Fri Jun 22, 2007 7:13 am Reply with quoteBack to top

Yeapm thats the option I was thinking of!

_________________
http://funportal.beanwebb.com : Funportal - Home of NukeJokes and the Invision Board port
http://www.beanwebb.com : Beanwebb.com - Hundreds of free games to play plus loads more!
Find all posts by beanwebbView user's profileSend private messageVisit poster's website
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Sat Jun 23, 2007 9:32 am Reply with quoteBack to top

I'll make HTML pages which direct you to the page if I need something more effective.
Problem with the SID solved.
For the FlashChat, I'll make a HTML page which looks like my PHP-Nuke and embed the FlashChat. I don't have the skills and/or time for making a module, maybe next time Smile
I'll include the blocks in the modules I need, and in the others I'll just drop them and make my own navigation.

Furthermore:
- I want my "Who's Online" block to show also who is online (member names) instead of just telling the number of them online.
I browsed a little bit, but everything I found had a dead link: site closed or whatever. Anyone who knows and/or uses that block?

- I posted this in the "Gallery" thread above: Due to risk by installing the Coppermine gallery I have to find another one. Gallery 2 is too complicated and there are too much details for an artwork gallery I want. So does anyone know for a gallery that looks like the Coppermine and can be used as a PHPNuke module?

Thanks,
G.
Find all posts by Griever_RebornView user's profileSend private message
beanwebb
Sergeant
Sergeant


Joined: Mar 01, 2003
Posts: 81


PostPosted: Mon Jun 25, 2007 1:41 pm Reply with quoteBack to top

If your gonna insert the flashchat module in an html page, the easiest thing to do then, is to include that page in PHPNuke module file. Create a folder under modules called something like FlashChat. Then create an index.php file in notepad and with this text:

Code:

<?php

include("header.php");

include("modules/FlashChat/file.html");

include("footer.php");

?>


Change the link modules/FlashChat/file.html to the path of the html file you created earlier. Upload that to your site and then access the module from the menu block. It should work.

With the user block, do you mean like the one on my site [url]http:/www.beanwebb.com[/url]? (top right) you might need to be logged in to see the list at the bottom.

As for another Gallery module, I think My_eGallery is somewhere, although I have found Gallery2 to be fairly easy to use. (Again check the screenshots section of my site)

Hope this was of some help!

_________________
http://funportal.beanwebb.com : Funportal - Home of NukeJokes and the Invision Board port
http://www.beanwebb.com : Beanwebb.com - Hundreds of free games to play plus loads more!
Find all posts by beanwebbView user's profileSend private messageVisit poster's website
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Mon Jun 25, 2007 2:16 pm Reply with quoteBack to top

Thanks, but I already solved the problem with the FlashChat, works fine now.

Anyways, yes, that's the block I need. Altough, it would be better if it was compressed like:
-----------------------------------------------
Ovarall:
Members:
Guests (not so important, it's clear that it's Overall minus the Users)

Online: User1, User2, User3, User4, ....
------------------------------------------------

So, everything in one block, and don't need the member's name one under another, it streches the website too much it there's too many users online.

But yeah, that it, and if it's not possible in the way I said, it's fine with yours, too.


- About the gallery: it'll be an artwork gallery, not an online photo album, so I need it to be simple and with not many details - just thumbs, cause I'll have somewhere 200+ pictures per title. So the informations like who's the uploader, date, time, etc. are not important nor necessary. Coppermine was really the best for it, and would be no.1 pick if it weren't for that problem, but I guess Gallery2 will be pick no.1 since it's better than My_eGallery, if I can't find anything more similar to Coppermine.
Find all posts by Griever_RebornView user's profileSend private message
beanwebb
Sergeant
Sergeant


Joined: Mar 01, 2003
Posts: 81


PostPosted: Mon Jun 25, 2007 2:32 pm Reply with quoteBack to top

That block should have been included with your install of PHPNuke. Simply go to Admin Page -> Blocks -> Scroll to the add box form -> Select Filename as User Info -> Select which side of the page you want it on -> Click Create Block.

With Gallery2, you can strip out what you dont need by deactivating modules. ALot of the extras on gallery are generated by the plugins. There is one gallery/album system I did forget about and thats 4nAlbum, thats been ported to PHPNuke, but I've never used it so not sure if it will do what you want or not. I dont think its as advanced as Gallery2.

A good website to look at http://warpspeed.4thdimension.de/. Theres loads of blocks and addons there (Alot might be out of date), it is in German, but click the US flag at the top to change it to english.

_________________
http://funportal.beanwebb.com : Funportal - Home of NukeJokes and the Invision Board port
http://www.beanwebb.com : Beanwebb.com - Hundreds of free games to play plus loads more!
Find all posts by beanwebbView user's profileSend private messageVisit poster's website
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Tue Jun 26, 2007 12:45 pm Reply with quoteBack to top

beanwebb wrote:
That block should have been included with your install of PHPNuke. Simply go to Admin Page -> Blocks -> Scroll to the add box form -> Select Filename as User Info -> Select which side of the page you want it on -> Click Create Block.

With Gallery2, you can strip out what you dont need by deactivating modules. ALot of the extras on gallery are generated by the plugins. There is one gallery/album system I did forget about and thats 4nAlbum, thats been ported to PHPNuke, but I've never used it so not sure if it will do what you want or not. I dont think its as advanced as Gallery2.

A good website to look at http://warpspeed.4thdimension.de/. Theres loads of blocks and addons there (Alot might be out of date), it is in German, but click the US flag at the top to change it to english.


I didn't know that the "User Info" block was included and all I had to do is activate it. That helped a lot!
I mixed those two up and got my result.

Image
If user is not registered he/she can only see the Login/Registration block, and if he/she is a member, both of these block will be visible.

Anyways, if someone likes this, I'll be glad to zip those two PHP files and send them via e-mail.

I'll try to customize Gallery2 in the next few days and if I can't get the result I want, I'll try with something less advanced.

Thanks for your help, beanwebb.
Find all posts by Griever_RebornView user's profileSend private message
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Mon Jul 02, 2007 3:11 pm Reply with quoteBack to top

I have a little problem with the modules and blocks:

Whenever I create a new module, I can't see the right blocks.
I have put "$index = 1;" in the index.php.
I was looking for answers - i tried to repair the nuke_block table - but I couldn't find anything that helps.

What could be the problem?
Find all posts by Griever_RebornView user's profileSend private message
Griever_Reborn
Nuke Soldier
Nuke Soldier


Joined: May 06, 2007
Posts: 22


PostPosted: Mon Nov 12, 2007 11:52 am Reply with quoteBack to top

Griever_Reborn wrote:
I have a little problem with the modules and blocks:

Whenever I create a new module, I can't see the right blocks.
I have put "$index = 1;" in the index.php.
I was looking for answers - i tried to repair the nuke_block table - but I couldn't find anything that helps.

What could be the problem?


refresh
Find all posts by Griever_RebornView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.316 Seconds - 214 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::