Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ℓσяєиz on February 20, 2008, 11:46:44 PM

Title: Gencportal
Post by: ℓσяєиz on February 20, 2008, 11:46:44 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1091)

Demo: http://www.genclup.net/index.php?action=portal3

You can change settings in Admin > Features and Options > Portal.

Features:
An extra page with subaction who will display your news.
A poll who will display in portal. You can change the poll id in portal settings.

===========

Admin Panel Destekli

Admin -> Forum seçenekleri -> Portal Ayarları

buradan portal ayarlarınızı yapabilirsiniz.

Özellikler :

Subaction olarak duyuru olarak kullanabileceğiniz bir extra sayfa.
Çogu arkadasımızn ıstediği anasayfada anket  admin panelden anket id si giriyorsunuz.
Title: Re: Gencportal
Post by: Qayyom Ashraf on February 21, 2008, 02:24:02 AM
any Demo (other Site) available in English Version

I am using Tinyportal with default theme, can I use it with my site.

www.JangForum.com (http://www.jangforum.com)
Title: Re: Gencportal
Post by: Alpay on February 21, 2008, 06:11:59 AM
Nice portal ℓσяєηz  ;)
Title: Re: Gencportal
Post by: Basie on February 21, 2008, 12:44:11 PM
English demo please.
Title: Re: Gencportal
Post by: jusplay77 on February 21, 2008, 09:23:42 PM
Add this to your BoardDir$/Themes/default/index.template.php after the button of your choice.. (In my example, I put mine after the first button: HOME)


// Show Portal Button
echo ($current_action == 'portal' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'portal' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=portal">Portal</a>
</td>' , $current_action == 'portal' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


---

Problem Found:

I am running SMF 1.1.4 and I typed in 6.0 for my News Board in the Features & Options settings, and when I click NEWS from the Portal Page, I get a blank page.  The URL is odd as well: BoardDir$/index.php?action=portal;sa=duyuru.  Any ideas?
Title: Re: Gencportal
Post by: Nibogo on February 21, 2008, 09:32:00 PM
I use this portal in my forum:

http://www.mundo-se.com/foro/index.php?action=portal

works great , i have in spanish/english
Title: Re: Gencportal
Post by: jusplay77 on February 21, 2008, 09:34:46 PM
@ NIBOGO: Your Portal also has the same error when you click NEWS.  Nothing displays in the center.  Any ideas on how to fix this ℓσяєηz??
Title: Re: Gencportal
Post by: ℓσяєиz on February 22, 2008, 02:28:09 AM

@ NIBOGO
@ jusplay77

your input board id ?
settings in Admin > Features and Options > Portal.
Title: Re: Gencportal
Post by: [SiNaN] on February 22, 2008, 04:04:27 AM
Tested in a new, fresh SMF. In the language english and theme default.

While installing the package, it outputs errors but installs it. The errors can be seen from the error log in admin cp.

When a use its function, I mean go to scripturl?action=portal, if after the install I do not set the settings it outputs 3 errors.

After setting the settings, it still outputs errors in error log.

When I tried to uninstall it, it only redirected to a blank page.

It had 48 errors when I tried validation of xhtml.

Quote from: winrules on October 03, 2006, 03:53:01 PM
  • Must successfully install and uninstall on a default install of SMF (unless it is dependant on another mod) for all versions it is compatible with

    • Must remove everything on uninstallation that is added in installation (including files and images) with the exception of language entries, database tables, database columns and database rows
  • There must be no unexpected errors in the error log

Now I wonder how this mod is approved? By mistake?

Reported to the Mod Team.

Regards.

-[SiNaN]

Title: Re: Gencportal
Post by: Nibogo on February 22, 2008, 01:33:29 PM
Quote from: ℓσяєηz on February 22, 2008, 02:28:09 AM

@ NIBOGO
@ jusplay77

your input board id ?
settings in Admin > Features and Options > Portal.

i dont know what ID i have to select in taht option , please give me an example

sorry but i dont speak english
Title: Re: Gencportal
Post by: jusplay77 on February 22, 2008, 02:10:19 PM
If you have a forum that you want displayed as NEWS, you SHOULD be able to look at it's url (example: http://www.example.com/smf/index.php?board=37.0) and the ID number would be 37 for that example.  But it doesn't work..

I am awaiting for a fix for that from ℓσяєηz
Title: Re: Gencportal
Post by: ℓσяєиz on February 22, 2008, 04:06:03 PM
portal.template.php open

Code (find) Select

    $array = genc_boardNews($modSettings['portal_duyuru_id'], $modSettings['portal_duyuru_mesaj'], null, 1000, 'array');

Code (replace) Select

    $array = genc_boardNews(37, 5, null, 1000, 'array');
Title: Re: Gencportal
Post by: jusplay77 on February 22, 2008, 05:23:49 PM
That did not fix the problem.. it seems that it did not change anything, as I am still getting the same result when I click news. 
Title: Re: Gencportal
Post by: ℓσяєиz on February 23, 2008, 01:39:13 AM
yor site adres ?
Title: Re: Gencportal
Post by: zeeshankh on March 01, 2008, 12:18:58 PM
the problem i am having in this mod is that it installs it self in packages.  and there is no "Admin > Features and Options > Portal." what should i do?
Title: Re: Gencportal
Post by: zeeshankh on March 01, 2008, 01:09:29 PM
i am getting the following error if i am running my genceportal potal.php. i tried the link; http://www.rangbharde.com/index.php?action=portal

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14
File: /home/zeeshank/public_html/rangbharde/Sources/portal.php
Line: 261

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Gencportal
Post by: ℓσяєиz on March 01, 2008, 01:35:59 PM
Quote from: zeeshankh on March 01, 2008, 01:09:29 PM
i am getting the following error if i am running my genceportal potal.php. i tried the link; http://www.rangbharde.com/index.php?action=portal

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14
File: /home/zeeshank/public_html/rangbharde/Sources/portal.php
Line: 261

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.

You can change settings in Admin > Features and Options > Portal.
Title: Re: Gencportal
Post by: Apllicmz on March 01, 2008, 11:41:57 PM
Good Work
Nice Mod
Title: Re: Gencportal
Post by: Nibogo on March 05, 2008, 06:51:38 PM
How i can modify the portal to have a top 10 of reputation with the thanks o matic??
Title: Re: Gencportal
Post by: Nibogo on March 06, 2008, 08:24:07 PM
Something more:

I have the portal working with the "NEWS" you can see that in:

http://mundo-se.com/foro/index.php?action=portal;sa=duyuru

Please help me how i can put a top 10 of with the reputation of thanks o matic
Title: Re: Gencportal
Post by: ℓσяєиz on March 07, 2008, 06:53:11 AM
which "Thanking Modification Installation" ??
Title: Re: Gencportal
Post by: Apllicmz on March 09, 2008, 08:39:59 AM
Can puty here how can install manual...
to other  themes
Title: Re: Gencportal
Post by: Fat_Man on March 09, 2008, 11:05:34 PM

I'm interested in this - though I'm concerned about its stability.

I will use a test forum before applying to our main forum.

BTW: Should this all be in the PORTAL/BRIDGE forum?
Title: Re: Gencportal
Post by: eNOOBz on March 12, 2008, 01:42:01 AM
Dear ℓσяєηz,

I have install this Mod through the Package Manager. It install OK but now I cannot uninstall it from Package Manager. So I uninstall it manually by deleting all the files related.

My problem now is I still have the option PORTAL SETTINGS in side my Admin > Features and Option page. How to remove the setting from there? Please HELP me..

Thanks.
Title: Re: Gencportal
Post by: [SiNaN] on March 12, 2008, 06:04:23 AM
You should take changes back from the the file ModSettings.php in the Sources directory.
Title: Re: Gencportal
Post by: eNOOBz on March 12, 2008, 09:36:20 AM
Thank you very much [SiNaN]. Now all is OK.. great!
Title: Re: Gencportal
Post by: [SiNaN] on March 12, 2008, 09:39:43 AM
Quote from: eNOOBz on March 12, 2008, 09:36:20 AM
Thank you very much [SiNaN]. Now all is OK.. great!

Not at all. You can try the simplest one; SimplePortal. :P
Title: Re: Gencportal
Post by: Nibogo on March 13, 2008, 07:08:36 PM
Quote from: joomlamz on March 09, 2008, 08:39:59 AM
Can puty here how can install manual...
to other  themes

I have col tasi v3 theme and the portal is installed inn default theme but woorks great with the col tasi theme:

DEMO: mundo-se.com
Title: Re: Gencportal
Post by: Nibogo on March 13, 2008, 07:12:30 PM
Quote from: joomlamz on March 09, 2008, 08:39:59 AM
Can puty here how can install manual...
to other  themes

I have col tasi v3 theme and the portal is installed inn default theme but woorks great with the col tasi theme:

DEMO: mundo-se.com
Title: Re: Gencportal
Post by: Apllicmz on March 13, 2008, 09:02:23 PM
goog work but i try she not work...
i will try again
Title: Re: Gencportal
Post by: robbie93 on April 07, 2008, 03:09:56 PM
just installed and got this error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14
File: /home/robbiean/public_html/Sources/portal.php
Line: 261
Title: Re: Gencportal
Post by: Apllicmz on April 07, 2008, 04:55:12 PM
why dont try simpleportal....
Title: Re: Gencportal
Post by: robbie93 on April 07, 2008, 04:58:27 PM
simple portal wont install on my forum i use gothic_rose theme i think it is only for default
Title: Re: Gencportal
Post by: robbie93 on April 07, 2008, 05:38:16 PM
how do i uninstall this mod

uninstall via package manager doesnt work ::)

this mod sucks
Title: Re: Gencportal
Post by: [SiNaN] on April 08, 2008, 01:35:17 AM
This mod can not be uninstalled by package manager. Try uninstalling manullay.

Additionally, SimplePortal works with all the themes.
Title: Re: Gencportal
Post by: robbie93 on April 08, 2008, 03:54:57 AM
package parser uninstall does not work with this mod

how do i know what code to delelte and from where?
Title: Re: Gencportal
Post by: [SiNaN] on April 08, 2008, 04:05:55 AM
You can the package parser.
Title: Re: Gencportal
Post by: robbie93 on April 08, 2008, 04:19:20 AM
trying to uninstall this mod using package parser gives me this error

ERROR: The package-info.xml file is invalid!


Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:
Entity: line 21: parser error : Opening and ending tag mismatch: removefile line 20 and uninstall
</uninstall>
^
Entity: line 22: parser error : Opening and ending tag mismatch: uninstall line 17 and package-info
</package-info>
^
Entity: line 23: parser error : Premature end of data in tag package-info line 3

^
Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('<?xml version="...')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'uninstall', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpL4NtMA', 'uninstall', 'theme')
#3 {main}

XML File:

Warning: file_get_contents(/home/sleepy1/backend/temp/packageparser/package-info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/sleepy1/public_html/PackageParser/index.php on line 180
Title: Re: Gencportal
Post by: [SiNaN] on April 08, 2008, 04:36:58 AM
Better wait for the mod author.
Title: Re: Gencportal
Post by: robbie93 on April 08, 2008, 02:29:28 PM
do you know when he will be back ::)

Title: Re: Gencportal
Post by: Apllicmz on April 09, 2008, 03:02:48 AM
try send pm..
i will try to finder for you...
Title: Re: Gencportal
Post by: robbie93 on April 09, 2008, 01:14:06 PM
pm sent
Title: Re: Gencportal
Post by: robbie93 on April 11, 2008, 06:42:23 PM
pm sent on the 9th april

still no response,  since this mod isnt being backed by the author it should be taken off smf,  the mod doesnt work,  and you can't even uninstall it,  it is a complete waste of space.

just having my say  ;D

the simple portal mod isnt of much use either ::)

Title: Re: Gencportal
Post by: [SiNaN] on April 13, 2008, 09:42:22 AM
Quote from: robbie93 on April 11, 2008, 06:42:23 PM
the simple portal mod isnt of much use either ::)

Why?
Title: Re: Gencportal
Post by: Nibogo on April 19, 2008, 09:05:12 PM
Simpleportal is a very good modification , is simple and have a good style , and i see of the GencPortal didn t have an update in a long time  :-\ :-\
Title: Re: Gencportal
Post by: [SiNaN] on April 19, 2008, 11:21:57 PM
Thanks NIBOGO. :)
Title: Re: Gencportal
Post by: Pills on April 29, 2008, 08:23:45 PM
Quote from: NIBOGO on April 19, 2008, 09:05:12 PM
Simpleportal is a very good modification , is simple and have a good style , and i see of the GencPortal didn t have an update in a long time  :-\ :-\
so how do we get  rid of it? i made a new topic about it. i hadnt seen this one sorry :( but i have the same exact problem. so how would i uninstall it or get rid of it at all?
Title: Re: Gencportal
Post by: [SiNaN] on April 30, 2008, 02:45:52 AM
Use the package parser and see the changes made and take them back.
Title: Re: Gencportal
Post by: Pills on April 30, 2008, 10:08:03 AM
where is the package parser? sorry im new to SMF or any forums really.....
Title: Re: Gencportal
Post by: [SiNaN] on April 30, 2008, 10:31:25 AM
Quote from: Pills on April 30, 2008, 10:08:03 AM
where is the package parser? sorry im new to SMF or any forums really.....

In every mod site mod page. See now:

http://custom.simplemachines.org/mods/index.php?mod=1091

This is mod page in the mod site.

You can see the package for download at the right. It is the only and selected by default. From the box under it select your SMF version and click "Submit". It will give you the manual installation instructions.
Title: Re: Gencportal
Post by: robbie93 on May 05, 2008, 12:27:30 AM
@ pills you cant uninstall this mod, it  is a no good mod,  the package parser is of no use because it doesnt accept the zip file

i still have this on my board and cant get it off,  i have also pm the author and had no reply,  so it seems anybody who installs this mod and dont want it are stuck with it lol.

[SINaN] is only using this article to promote his own mod.

Title: Re: Gencportal
Post by: [SiNaN] on May 05, 2008, 02:41:10 AM
Quote from: robbie93 on May 05, 2008, 12:27:30 AM
[SINaN] is only using this article to promote his own mod.

Me, doing that? Hımmm, let's look at the messages above:

Quote from: [SiNaN] on February 22, 2008, 04:04:27 AM
Tested in a new, fresh SMF. In the language english and theme default.

While installing the package, it outputs errors but installs it. The errors can be seen from the error log in admin cp.

When a use its function, I mean go to scripturl?action=portal, if after the install I do not set the settings it outputs 3 errors.

After setting the settings, it still outputs errors in error log.

When I tried to uninstall it, it only redirected to a blank page.

It had 48 errors when I tried validation of xhtml.

Quote from: winrules on October 03, 2006, 03:53:01 PM
  • Must successfully install and uninstall on a default install of SMF (unless it is dependant on another mod) for all versions it is compatible with

    • Must remove everything on uninstallation that is added in installation (including files and images) with the exception of language entries, database tables, database columns and database rows
  • There must be no unexpected errors in the error log

Now I wonder how this mod is approved? By mistake?

Reported to the Mod Team.

Regards.

-[SiNaN]



Quote from: [SiNaN] on March 12, 2008, 06:04:23 AM
You should take changes back from the the file ModSettings.php in the Sources directory.

Quote from: [SiNaN] on April 08, 2008, 01:35:17 AM
This mod can not be uninstalled by package manager. Try uninstalling manullay.

Additionally, SimplePortal works with all the themes.

Quote from: [SiNaN] on April 08, 2008, 04:05:55 AM
You can the package parser.

Quote from: [SiNaN] on April 30, 2008, 02:45:52 AM
Use the package parser and see the changes made and take them back.

Quote from: [SiNaN] on April 30, 2008, 10:31:25 AM
Quote from: Pills on April 30, 2008, 10:08:03 AM
where is the package parser? sorry im new to SMF or any forums really.....

In every mod site mod page. See now:

http://custom.simplemachines.org/mods/index.php?mod=1091

This is mod page in the mod site.

You can see the package for download at the right. It is the only and selected by default. From the box under it select your SMF version and click "Submit". It will give you the manual installation instructions.

I have nothing to do with this mod. But I'm providing support. This mod is similar to mine and as you see this is problematic. I just informed you that there is another mod wich is similar to this one. But only in 3 of my posts I talked about my mod. I am not advertising my mod here and my mod doesn't need this.

Title: Re: Gencportal
Post by: robbie93 on May 05, 2008, 12:09:29 PM
all i see here is you telling people to uninstall via the package parser

as i have already told you on April 08, 2008, 04:19:20 AM ( see post ) the package parser will not take the file.  and...  as you yourself stated on April 08, 2008, 04:36:58 AM Posted by: [SiNaN] 
Better wait for the mod author ,  you agree with that and do not know how to uninstall it, yet on
April 30, 2008, 02:45:52 AM you tell pills to again use the package parser to uninstall?  when you know already that this process does not work?  thats not exactly support now is it?








Title: Re: Gencportal
Post by: [SiNaN] on May 06, 2008, 01:32:06 AM
Quote from: robbie93 on May 05, 2008, 12:09:29 PM
all i see here is you telling people to uninstall via the package parser

as i have already told you on April 08, 2008, 04:19:20 AM ( see post ) the package parser will not take the file.  and...  as you yourself stated on April 08, 2008, 04:36:58 AM Posted by: [SiNaN] 
Better wait for the mod author ,  you agree with that and do not know how to uninstall it, yet on
April 30, 2008, 02:45:52 AM you tell pills to again use the package parser to uninstall?  when you know already that this process does not work?  thats not exactly support now is it?

I do say like that because the only solution is this. Who said that doesn't work? Just you couldn't do what I've told to you.

Click to the link below and see:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1091;attach=49808;smf_version=1.1.4