Jump to content

(SD33) Pages


Spanner

Recommended Posts

%7Boption%7D



File Name: (SD33) Pages

File Submitter: Spanner

File Submitted: 04 Jul 2012

File Category: Content Management

Supported Versions: IP.Board 3.2.x, IP.Board 3.3.x, IP.Board 3.4.x



Author: Dawid Baruch (IPSBeyond.pl)

Opis:

Aplikacja daje możliwość tworzenia własnych stron zarówno w wyglądzie forum jak i własnym. Dodatkowo możliwe jest szukanie w treści oraz generowanie kanału RSS.

Funkcjonalności:

  • Tworzenie własnych stron
  • Możliwość stworzenia strony nie związanej wyglądowo z forum
  • Możliwość uruchomienia kanału RSS
  • Możliwość definiowania osobnych uprawnień dla każdej strony
  • Możliwość dodania linku do strony do jednej z 3 sekcji: nawigacji górnej, w stopce oraz w tak zwanej szybkiej nawigacji
  • Możliwość wyszukiwania w stronach
  • Generowanie mapy stron dla IP.SEO
  • 2 Rodzaje wyglądu listy stron (lista i "siatka")

Description:

Application gives posibility to create custom pages with forum view and own view. In addition we can search in content and generate RSS feed.

Features:
  • Creating own pages
  • Possibility to create page without forum look
  • Possibility to run RSS feed
  • Possibility to create own page permissions
  • Possibility to add link for page to one of 3 sections: header, footer or quick nav
  • Possibility to search in page content
  • Generating sitemap for IP.SEO
  • 2 looks type: list and grid



here to download this file

Link to comment
Share on other sites


What written in sql error logs?



second error is not from my application.




I'm not sure if this is the right thing to do, but here is it.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Thu, 05 Jul 2012 13:10:04 +0000 Error: 1064 - 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 'maxvalue FROM sd_pages' at line 1 IP Address: ***.***.***.** - /forumet/admin/index.php?adsess=00997b48a39fb9872559b303de0bcc5b&app=sdpages&module=pages§ion=pages&do=doadd ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT max(page_position) as maxvalue FROM sd_pages .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [sdpages].getMaxPagePosition | 345 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [admin_sdpages_pages_pages].saveForm | 105 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/base/ipsController.php | [admin_sdpages_pages_pages].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Thu, 05 Jul 2012 13:10:17 +0000 Error: 1064 - 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 'maxvalue FROM sd_pages' at line 1 IP Address: ***.***.***.** - /forumet/admin/index.php?adsess=00997b48a39fb9872559b303de0bcc5b&app=sdpages&module=pages§ion=pages&do=doadd ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT max(page_position) as maxvalue FROM sd_pages .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [sdpages].getMaxPagePosition | 345 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [admin_sdpages_pages_pages].saveForm | 105 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/base/ipsController.php | [admin_sdpages_pages_pages].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Thu, 05 Jul 2012 13:10:34 +0000 Error: 1064 - 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 'maxvalue FROM sd_pages' at line 1 IP Address: ***.***.***.** - /forumet/admin/index.php?adsess=00997b48a39fb9872559b303de0bcc5b&app=sdpages&module=pages§ion=pages&do=doadd ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT max(page_position) as maxvalue FROM sd_pages .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [sdpages].getMaxPagePosition | 345 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [admin_sdpages_pages_pages].saveForm | 105 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/base/ipsController.php | [admin_sdpages_pages_pages].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Thu, 05 Jul 2012 13:12:10 +0000 Error: 1064 - 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 'maxvalue FROM sd_pages' at line 1 IP Address: ***.***.***.** - /forumet/admin/index.php?adsess=00997b48a39fb9872559b303de0bcc5b&app=sdpages&module=pages§ion=pages&do=doadd ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT max(page_position) as maxvalue FROM sd_pages .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [sdpages].getMaxPagePosition | 345 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/applications_addon/other/sdpages/modules_admin/pages/pages.php | [admin_sdpages_pages_pages].saveForm | 105 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/base/ipsController.php | [admin_sdpages_pages_pages].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Link to comment
Share on other sites


Try to execute this query


SELECT max(page_position) as maxvalue FROM sd_pages

in phpmyadmin. This is correct query, but you have error with it :sad:



Okay, is it possible for you to tell me how to do it? I'm a beginner on this so I don't know so much at all.
Link to comment
Share on other sites

ACP -> Help -> SQL Tools. In botom of page you can find sql toolbox. paste this query and execute.

Or If you want quick tip:

Open: admin/applications_addon/other/sdpages/modules_admin/pages/pages.php

find:

$this->sdpages->getMaxPagePosition()

replace to 0 or 1, and save file

Link to comment
Share on other sites


ACP -> Help -> SQL Tools. In botom of page you can find sql toolbox. paste this query and execute.



Or If you want quick tip:



Open: admin/applications_addon/other/sdpages/modules_admin/pages/pages.php



find:

$this->sdpages->getMaxPagePosition()

replace to 0 or 1, and save file

When I use the toolbox, I get an 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 'maxvalue FROM sd_pages' at line 1



When I open the file and change it there, nothing happens.

Link to comment
Share on other sites


When I use the toolbox, I get an 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 'maxvalue FROM sd_pages' at line 1



When I open the file and change it there, nothing happens.




The alias maxvalue should be enclosed in quotes. That is why you are getting that error.
Link to comment
Share on other sites


The alias maxvalue should be enclosed in quotes. That is why you are getting that error.




Thanks for your help.


You have something wrong in mysql server.



If you replace


$this->sdpages->getMaxPagePosition()

to 1, can you add new page? or you have error? what error?



I changed the code to 1 and now it works to create pages. Thank you very much.
Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...
  • 1 month later...

Hi, I have a quick question:

I have an admin on the site I'm running who is using pages to create a database/archive, and as of late, (Possibly since the last few updates to ip.board) she has been having issues with formatting. Mainly if she has any <br> codes or she has used underlines in her pages. When she saves and goes back in, it supposedly disappears. Any clues as to why that might be? Or any solution that we might try?

Thank you!

Link to comment
Share on other sites

  • 1 year later...

Probably this is problem with editor not with modification.

I installed this mod (works great btw), but I'm having an issue.

1) I'd like to remove the "Pages" link from navigation. I just want to add individual pages to the navigation, no need for the separate link to a page that lists all custom pages. So how would I remove this? Doesn't seem to have a setting for it.

2) The link added for the custom page "Chat" seems to be displaying in a weird place.

Screenshot: 06202d5a0b.png' alt='' class='ipsImage'" alt="06202d5a0b.png">

How do I make "Chat" move to where "Pages" is shown and remove "Pages" from the navbar?

Link to comment
Share on other sites

  • 3 weeks later...

I'm having a problem with the add on.

We have various Themes installed on our site, and Pages works fine with our custom theme, but if anyone is using the default IP.Board theme, they get the following error when they click on the "Pages" link.

Fatal error: Call to a member function showPages() on a non-object in /home/vapepit/public_html/admin/applications_addon/other/sdpages/modules_public/pages/pages.php on line 119

Any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...