Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Fantast

    (@fantast)

    the problem appears when i try to login at the turkish version of the blog: http://www.alibayrak.nl/tr/wp-login.php

    use as username “admin” and as password “temporary”

    Thread Starter Fantast

    (@fantast)

    Hi. Im posting this reply to ask attention for my problem one more time. If no answers are given again i will give it up.

    Thread Starter Fantast

    (@fantast)

    Hey Otto, thanks for the info. I will start looking at the way the loop works and how it is handled.

    The reason why i didn’t want the custom page to be stored as a page is that i dont want it to be displayed in the “pages” menu. I need it to have its own multimedia menu from where the albums can be accessed. Also since I only just started with this project for now it won’t have too much options yet and I would like to keep it real simple. That would mean that just uploading the files to the server should be enough to display the multimedia menu and its pages.

    In the future however I will definitely have a look at adding an option to choose whether you like to access the albums from the pages menu or a distinct menu. Also more information storing possibilities will be added, which will mean that i would need more database interaction. For this reason I think it would be wiser to already anticipate on those options and thus the method you suggested (using the posts table for the basic storage needs of the multimedia pages) might be afterall the way to go.

    This brings me to a different question: I see that the posts and pages are stored in the same table, with only one distinction: the post_type column. Now there are two ways i could use this to do what you proposed: store a page under a different post_type than post / page or create a new table with the ID’s of the posts which should be neglected when displaying the normal posts. To me it seems like both would work and I actually consider to use both options at the same time to have the advantages of both methods: speed of the different post_type method and storing extra information of the new table method. My only question (for now) is whether there is something I don’t know which makes it less advisebale to use any of the two methods.

    Thanks in advance~

    Thread Starter Fantast

    (@fantast)

    Thanks for bearing with me Otto, I will try to be more clear with my question.

    Since I asked the question I have been reading through the wp source code and some plugins. That already gave me a solution to my problem (which i only implemented today), but its far from a decent solution as it requires hacking of the template index page…

    What i mean to do is the following: I have a new menu in the sidebar with three page links: photo’s, mp3 and video. So its basicly a multimedia menu. clicking on a menu-item results in the url request: domain/?mm=1. 1 represents photo’s, as 2 and 3 will represent mp3’s and videos respectively. The plugin will read the get command and generate the code for displaying the albums or the photo’s in the albums.

    At the moment to make sure wp does not read any posts from the database if the GET value mm = 1, 2 or 3, i add a filter for the posts_where hook:
    " AND NOTpost_type= 'post'"
    This however results in the error message “Sorry this post has been deleted”, which as far as i can see i can only remove through hacking the template. Also the code generated in the plugin for displaying the multimedia page is displayed through adding a function call in the template page, and thus once again involves hacking. I hoped there was an another way to tell wp it doesn’t need to generate the content as my plugin already will (but the wp template and menus should stay in place, only replacing the posts by my plugin generated code)

    Thread Starter Fantast

    (@fantast)

    I see. But wouldnt that mean that i can no longer use the wordpress template?

    Thread Starter Fantast

    (@fantast)

    Hey Otto, thanks for the reply.

    Putting exit in the source code of wp would mean hacking it. Im looking for a way to do this solely through a plugin. Maybe i should rephrase my question also a bit: is it at all possible to show a page in a wp blog without having created it by the usual admin page procedure or hacking into the source code of wp?

Viewing 6 replies - 1 through 6 (of 6 total)