Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: Old Lynx - joulukuu 28, 2007, 04:37:54 IP

Otsikko: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 04:37:54 IP
Hi Guys

I want a gues to see the catagories under the [ Sharing ] section of my forum, but when he clicks I want him to be takes to the registration form.

How can I make this happen ??

Someone PLEASE help, I'll be very greatful

Thanks
Otsikko: Re: Catagories
Kirjoitti: Bigguy - joulukuu 28, 2007, 04:44:08 IP
Hmm; just trying to think back if there was a mod like this or not. Have you checked the mod site for one yet. ??? I believe I did hear something about this awhile ago.
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 04:53:55 IP
no I haven't !

I'll go check and come back here :)
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 04:56:19 IP
Hi there

I checked, but couldn't find anything ! :(
Otsikko: Re: Catagories
Kirjoitti: Bigguy - joulukuu 28, 2007, 05:03:19 IP
I can move this to a more appropriate board for you were it will get better attention if you like. ???
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:03:56 IP
yes please :)

Thanks ;)
Otsikko: Re: Catagories
Kirjoitti: karlbenson - joulukuu 28, 2007, 05:16:26 IP
You want a board to redirect? or a category?
Boards can be done with http://custom.simplemachines.org/mods/index.php?mod=38
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:19:39 IP
I want a guest to see the catagories under the [ Sharing ] by "see" I mean be able to view the name of the catagory ONLY. (e.g. Movies) BUT when he clicks  on Movies (I mean the guest) I want him to be taken to the registration page where he needs to fill the form.
Otsikko: Re: Catagories
Kirjoitti: karlbenson - joulukuu 28, 2007, 05:22:30 IP
So like
http://custom.simplemachines.org/mods/index.php?mod=610

But instead of seeing the login or register page, you want them to be redirected to the action=register page
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:28:01 IP
Yessss ! that is right

Let's forget about the "action=register page", let us just redirect them to the login or register page.

How do I do it ?

Where do I start ??
Otsikko: Re: Catagories
Kirjoitti: karlbenson - joulukuu 28, 2007, 05:30:38 IP
http://custom.simplemachines.org/mods/index.php?mod=610
That mod should do it then
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:34:36 IP
But the thing is I don't know how to instal mods :(

I've now downloaded the file [ View_Only_Boards_1.1.zip (8KB] [1317] ]

Now what do I do ?? How do I instal that Mod ? will this affect any of the posts on the forum ?
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:36:46 IP
I read that this Mod is only for the Default theme that came with SMF. I'm using SoftMC Blue ! does that mean this mod will mess up things for me :( :(
Otsikko: Re: Catagories
Kirjoitti: karlbenson - joulukuu 28, 2007, 05:40:05 IP
It shouldn't affect any posts.

Note however because you will be restricting access to your posts, spiders will not be able to spider your forum and so you will get a reduced number indexed pages in search engines.

To install a mod

Admin > Package Manager > Browse Packages
Upload it, apply.

The mod only installs on the default theme, so you may need to manually install some parts onto your theme.
You can grab the edits you need to make (theme changes)
by passing the mod through package parser like
http://sleepycode.com/PackageParser/index.php

Then edit the files and make the changes.

If you do not feel comfortable in doing that you could make a [free] or [paid] request for someone to do that for you in the Help Wanted section.
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:45:09 IP
is it easy to do ? :(
Otsikko: Re: Catagories
Kirjoitti: karlbenson - joulukuu 28, 2007, 05:47:32 IP
Thats relative. ;)

If you've never done it before it may be difficult at first.  But it is a useful process to learn how to manually edit code.

Backup both your files and your database before making any changes. Its better to be safer than sorry.
But like I said, there are people around here who would be willing to aid in installing mods, just checkout the link I posted above.
Otsikko: Re: Catagories
Kirjoitti: Old Lynx - joulukuu 28, 2007, 05:53:06 IP
I haven't done it before :( but I want to learn how to do it

OK I'll backup all my stuff, then I'll post ....where do I post for help with this kind of things ?

I've just uploaded the rar file to that link you sent me ( http://sleepycode.com/PackageParser/index.php ) and I choose the option for [ editing a them to work for mod ]. and I clicked upload

Now I have all these red, black, and blue code writing !!

It says that I should replace this with that and ...etc

If I do the replacing will the Mod work then ?