Support » Plugin: Site Creator Ultimate » [Plugin: Site Creator Ultimate] Pagination Problem?

Viewing 15 replies - 1 through 15 (of 19 total)
  • when using permalinks, same problem for me…help please!

    I have the same problem. Using the same permalink like in ur site http://1customize.com/blog-example/page/2/ , it doesn’t work but if I use the default, ?paged=2, it works. Help us please.

    Replace .htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^wp-admin/ – [L]
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
    RewriteRule ^(.+)/page/?([0-9]{1,})/?$ /index.php?page_id=$1&paged=$2 [QSA,L]
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    No guarantee

    thanks, but it doesn’t work…

    uso permalinks y tengo el mismo problema. por ahora yo lo resolví redireccionando la página en el htacces de esta forma:
    redirect 301 /page/2/ /lista-de-entradas-2/
    (lista-de-entradas-2 es el “slug” de mi página)

    — eng. traslation:
    using permalinks, same problem. for now I resolved it by redirecting page in the htaccess this way:
    redirect 301 /page/2/ /list-of-entries-2/
    (list-of-entries-2 is the “slug” of my page)

    hope it helps
    tnalvarez

    A quién interese: otra mejor manera que encontré es introduciendo ´nextpage´ entre ´diseños´.

    — eng. traslation:
    Who interested: better way I found is to introduce ‘nextpage’ between ‘layouts’

    http://teresanalvarez.com.ar/lista-de-entradas/

    tnalvarez

    Hi tnalvares, can you more details?

    fixed.

    open lib.php,

    1. find: function scu_query() {
    insert line:
    global $paged;

    update:
    //$scu_p = $_GET[‘paged’]; //old line
    $scu_p = $paged; //new line

    2. find: function scu_paged($maxpages) {
    update similiar code:

    global $paged;

    //’current’ => max(1, $_GET[‘paged’]),
    ‘current’ => max(1, $paged),

    $scu_p = max($paged,$_GET[‘paged’]);

    will work for front and admin area, but it seems bad smell.

    Hola, felixhang
    1) lo hice usando tres diseños -o los que hagan falta- iguales, pero diferenciando los números de los posts:
    layout 1 : de 0 a 30
    layout 2 : de 31 a 60
    layout 3 : de 61 a 90
    etc.

    2) luego en la página postié:

    [sitecreator show="1"]
    <!--nextpage-->
    [sitecreator show="2"]
    <!--nextpage-->
    [sitecreator show="3"]

    Antes debes retirarla como página de inicio y después de hacerla la vuelves a colocar como página de inicio. Yo no la estoy usando como homepage ahorita mismo, pero puedes verla aquí:
    http://teresanalvarez.com.ar/lista-de-entradas/

    — eng. traslation:

    Hi, felixhang
    1) I did it using three identical layouts or that are needed, but differing numbers of post:
    Layout 1: 0 to 30
    Layout 2: 31 to 60
    Layout 3: 61 to 90
    etc.

    2) then posted on page well:

    [sitecreator show="1"]
    <!--nextpage-->
    [sitecreator show="2"]
    <!--nextpage-->
    [sitecreator show="3"]

    You should withdraw as Home page first, then make it back to the place homepage. I’m not using it as homepage now, but you can see it here:
    http://teresanalvarez.com.ar/lista-de-entradas/

    Saludos.
    tnalvarez

    igalapedia

    (@igalapedia)

    I am new to WordPress and web design, This plugin solved lots of problem I never imagine I could have done within the period I discovered it. I am not left out of the pagination problem, navigating to the next page as shown by the link would still load the same page.
    I tried this hacking,

    open lib.php,
    
    1. find: function scu_query() {
    insert line:
    global $paged;
    
    update:
    //$scu_p = $_GET['paged']; //old line
    $scu_p = $paged; //new line
    
    2. find: function scu_paged($maxpages) {
    update similiar code:
    
    global $paged;
    
    //'current' => max(1, $_GET['paged']),
    'current' => max(1, $paged),

    something wrong happened;

    • no positive effect and the page was no longer showing the pagination links,
    • I restored the plugin by removing the changes and returned it back to normal, the pagination links still not showing for a reason I don’t understand.

    I solved my own problem forgetting pagination then try to show all what I have on the post list category of my interest.
    Option 1 (This method failed me, is only for your reading)

    • navigated to the code below @ [http://mysite.com/wp-admin/plugin-editor.php?file=site-creator-ultimate%2Flib.php&plugin=site-creator-ultimate%2Flib.php]
    • //TOP OPTIONS ---
      function scu_s_posts() {
          $sel = array(
              '1' => '1',
              '2' => '2',
              '3' => '3',
              '4' => '4',
              '5' => '5',
              '6' => '6',
              '7' => '7',
              '8' => '8',
              '9' => '9',
              '10' => '10',
              '12' => '12',
              '15' => '15',
              '20' => '20',
              '25' => '25',
              '30' => '30'
          );
          scu_sel('posts', '', '', $sel);
    • I populated the code in similar sequence from 30 to 70 as needed the
      '20' => '20',
              '25' => '25',
              '30' => '30'
                   to
              '65' => '65',
              '70' => '70'</li>

      Updating the plugin, my website hanged, Immediately I got a security message from WordPress firewall [plugin] alerting me of a threat and sent the entire codes to my mail.
      Option 2 (worked for me)
      The struggle continued, I have upto 270 posts in one of the categories I needed to apply these plugin. what next, I edited the above code like this

      <li>
      //TOP OPTIONS ---
      function scu_s_posts() {
              $sel = array(
              '1' => '1',
              '2' => '2',
              '3' => '3',
              '4' => '4',
              '5' => '5',
              '6' => '6',
              '7' => '7',
              '8' => '8',
              '9' => '9',
              '10' => '10',
              '12' => '12',
              '15' => '15',
              '20' => '20',
              '30' => '30', // changed from 25 to 30
              '300' => '300' // changed from 30 straight to 300
          );
          scu_sel('posts', '', '', $sel);

    • In my own case, I did not face the issue of page size because I was only listing the post titles.

    • No excerpt
    • No image
    • Then the matter closed

    I am still watching out for this problem getting solution one day

    hi,
    I solved it with the solution described by felixzhang: the rewriting of lib.php
    Thanks!

    Hi maasbeeld
    Please can you dump the section of the code you changed to this forum. I had problem when last I tried changing the lib.php according felixzhang’s method.

    We should take the plugin and patch the files and re-release it as a working plugin update. I think the developer has dropped off. The domain is for sale 😛 If someone has it working with pagination and sends me the files I will do it.

    En mi blog dejó de mostrar las imágenes.
    ¿Alguien sabe cómo se puede corregir eso?

    English translation
    In my blog stopped showing images.
    Does anyone know how to fix that?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Site Creator Ultimate] Pagination Problem?’ is closed to new replies.