First post on every page

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
khushalbhadra
Registered User
Posts: 22
Joined: Sat Sep 12, 2009 5:51 am

Re: First post on every page

Post by khushalbhadra »

Well where to install that SQL query. Can you'll help me out?
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: First post on every page

Post by ChriZathens »

The following 2 great tutorials will most probably answer all your questions about how to manually install any phppp3 modification:
  1. [Tutorial] How to install a MODX modification
    (answers all your questions about php file edits, copying files to your server, etc)
  2. [Tutorial] How to use phpMyAdmin
    (answers your questions about the SQL queries)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
khushalbhadra
Registered User
Posts: 22
Joined: Sat Sep 12, 2009 5:51 am

Re: First post on every page

Post by khushalbhadra »

EDIT

Well thanks Chriz I was able to add that SQL query and I am not getting that error. I actually I did not know that option in phpbb3. I was looking for an Announcement feature and this is completely different Mod. However I got to know the sticky and announcement feature and its now working. Thank You guys for your help and sorry for the touble.
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: First post on every page

Post by Eragon »

this mod does not work on 3.0.6 .. any update ?


thanks
rxu
Extensions Development Team
Posts: 3467
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

Eragon, what's the problem exactly?
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: First post on every page

Post by Eragon »

sorry, rxu it is working :) I forgot to make changes in prosilver :roll:
rxu wrote:Eragon, what's the problem exactly?
lissyara
Registered User
Posts: 7
Joined: Mon Dec 07, 2009 6:42 am
Location: USSR
Contact:

Re: First post on every page

Post by lissyara »

Eragon wrote:this mod does not work on 3.0.6 .. any update ?
Not work. Work partially - post shows on all pages, but, I cannot it change - on posting page missing check box for it (I update forum from previous version and anew apply all changes).
rxu
Extensions Development Team
Posts: 3467
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

lissyara wrote:on posting page missing check box
Check if you've applied corresponding changes to the current style.
lissyara
Registered User
Posts: 7
Joined: Mon Dec 07, 2009 6:42 am
Location: USSR
Contact:

Re: First post on every page

Post by lissyara »

in http://www.phpbb.com/mods/db/download/3175/

Code: Select all

Files to Edit

    * posting.php,
    * viewtopic.php,
    * language/en/common.php
nothing about current style.
I apply all described changes
what's need?
lissyara
Registered User
Posts: 7
Joined: Mon Dec 07, 2009 6:42 am
Location: USSR
Contact:

Re: First post on every page

Post by lissyara »

OK. I found included folder with contain style diff's =)
sorry, but, may be need complete instructions?
rxu
Extensions Development Team
Posts: 3467
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

lissyara wrote:sorry, but, may be need complete instructions?
Sorry, but that was the requirements of the MODDB packaging policy at the moment of the MOD approval ;)
And yes, there're plans to repack this MOD in according to the current MODDB requirements.
bangpride
Registered User
Posts: 33
Joined: Thu Apr 06, 2006 3:50 pm

Re: First post on every page

Post by bangpride »

Works perfectly with 3.0.6

Is there a way to make it show by default? I did a simple html change making the input type="hidden" and checked="checked" but I'm sure making it default the mod is shorter and won't need a new row in the database.
rxu
Extensions Development Team
Posts: 3467
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

bangpride wrote:Is there a way to make it show by default?
If you mean new topics, there's a way like that.
For old topics - you need to set 'topic_first_post_show' field of topics_table to 1 for all topics you want to make 1st post always on top.
gimmeg
Registered User
Posts: 24
Joined: Wed Nov 18, 2009 12:44 pm

Re: First post on every page

Post by gimmeg »

Thx for the mod, but:
rxu wrote:
bangpride wrote:Is there a way to make it show by default?
If you mean new topics, there's a way like that.
For old topics - you need to set 'topic_first_post_show' field of topics_table to 1 for all topics you want to make 1st post always on top.
This way is not clean, the box wont be selected but it will by default be enabled. I did the default enable thingy like this:

find in postings.php:

Code: Select all

$first_post_show_checked = (isset($post_data['topic_first_post_show'])) ? $post_data['topic_first_post_show'] : 0;
Add after in new line:

Code: Select all

$first_post_show_checked = ($mode == 'post') ? 1 : $first_post_show_checked;

cheers
gimmeg
Locked

Return to “[3.0.x] MOD Database Releases”