Page 4 of 6

Re: Ideas Support topic

Posted: Sat Nov 16, 2013 10:04 pm
by Noxwizard
Are you running PHP 5.3.0 or greater?

Re: Ideas Support topic

Posted: Sun Nov 17, 2013 10:40 am
by Anuj Dhawan
PHP 5.2.17.

Re: Ideas Support topic

Posted: Mon Nov 18, 2013 12:33 pm
by Anuj Dhawan
Is there some role of PHP version as well here, for the installation of this "MOD"?

Re: Ideas Support topic

Posted: Thu Nov 28, 2013 1:16 am
by callumacrae
Anuj Dhawan wrote:Is there some role of PHP version as well here, for the installation of this "MOD"?
I have no idea what is causing the problem (I haven't written any PHP for ages), but I know that updating your PHP would fix it - and it's probably a good idea anyway, as you're running a PHP version too low to update to phpBB 3.1.

EDIT: __DIR__ was added in PHP 5.3, apparently. Either update your PHP (recommended), or replace __DIR__ with dirname(__FILE__).

Re: Ideas Support topic

Posted: Sat Nov 30, 2013 11:49 am
by Anuj Dhawan
Thanks for the hint callumacrae, this helps. Appreciate your time.

This solved two problem of mine - first I had a warning in Admin Panel about the PHP version , which I had been ignoring all while and second this 'idea-MOD' was not working.

I thought that the host has to update the PHP version and not me but it happened to be other way round.I got it going my updating .htaccess file though and 'idea MOD' seems to work now. Though I still have some follow up:

1. Whenever a new idea is posted, the author of its comes as "Anonymous", why?
2. Can we delete the idea itself? I'm able to delete "the posts made by idea" but not the idea itself.


Edit: I realized that I've deleted the underlying topics and not the idea...oops I think that's the reason 2 point, above, comes in... :oops:

Re: Ideas Support topic

Posted: Sat Nov 30, 2013 1:39 pm
by Anuj Dhawan
With some more time with this and I could solve the first query here:
Anuj Dhawan wrote:1. Whenever a new idea is posted, the author of its comes as "Anonymous", why?
2. Can we delete the idea itself? I'm able to delete "the posts made by idea" but not the idea itself.


Edit: I realized that I've deleted the underlying topics and not the idea...oops I think that's the reason 2 point, above, comes in... :oops:
1. I've changed this in the ideas/includes/ideas.php file

Code: Select all

'poster_id'			=> IDEAS_POSTER_ID,
to

Code: Select all

poster_id'			=> $user->data['user_id'],
and this seems to work so far.

2. I did not get a work around for second query yet - can we delete the idea if the "posts created by idea are itself deleted"? Possibly someone can assist.

Re: Ideas Support topic

Posted: Mon Dec 16, 2013 6:53 pm
by Anuj Dhawan
Anuj Dhawan wrote:2. Can we delete the idea itself? I'm able to delete "the posts made by idea" but not the idea itself.


Edit: I realized that I've deleted the underlying topics and not the idea...oops I think that's the reason 2 point, above, comes in... :oops:
Is there any way round for that. Please advise.

Re: Ideas Support topic

Posted: Fri Dec 27, 2013 4:08 pm
by Anuj Dhawan
Hi,

I've this "Ideas "MOD" " on my board and at "Ideas Home" I see the heading as "phpBB Ideas" - is there any way to change it to something different, e.g., "New Ideas"? Please advise.

Re: Ideas Support topic

Posted: Mon Dec 30, 2013 1:33 pm
by Oyabun1
Anuj Dhawan wrote:I see the heading as "phpBB Ideas" - is there any way to change it to something different, e.g., "New Ideas"?
Open /ideas/template/index_body.html

Find

Code: Select all

<h2>phpBB Ideas</h2>
Replace phpBB Ideas with your desired text.

Re: Ideas Support topic

Posted: Thu Jan 02, 2014 3:55 pm
by Anuj Dhawan
Thanks - this did the trick. Appreciate your time.

Re: Ideas Support topic

Posted: Thu Jan 09, 2014 4:23 am
by Jessica
http://chenschool.elementfx.com/phpBB3/ideas/index.php

There's nothing under Top Ideas but when I go click View All one idea appears. So I don't know why that idea isn't appearing on the ideas index page..

Re: Ideas Support topic

Posted: Sat Jan 11, 2014 10:29 pm
by Jessica
Any help here...?

Has development for the Ideas Center stopped or something? It's been given barely any attention. I would say none at all

Re: Ideas Support topic

Posted: Wed Jan 15, 2014 4:09 pm
by Jessica
Jessica wrote:http://chenschool.elementfx.com/phpBB3/ideas/index.php

There's nothing under Top Ideas but when I go click View All one idea appears. So I don't know why that idea isn't appearing on the ideas index page..

Re: Ideas Support topic

Posted: Fri Jan 17, 2014 5:26 am
by Anuj Dhawan
My knowledge about phpBB development is limited as of now, however one observation I've which might help you. When you say
There's nothing under Top Ideas but when I go click View All one idea appears. So I don't know why that idea isn't appearing on the ideas index page..
- are you logged in and then you see "no idea/s listed", when you click on "View All..."? Because as a guest when I click on "View All...", is shows this error:
General Error
SQL ERROR [ mysql4 ]

Unknown column 'ideas_status' in 'where clause' [1054]
I think that gives a clue.

Hope this helps.

Re: Ideas Support topic

Posted: Fri Jan 17, 2014 6:19 am
by Jessica
I just fixed that error - don't think it's related to the top ideas issue though :/ the general error's gone (I hope) but the top ideas still isn't appearing on the Ideas index page

I think this file is relevant to the top ideas table?

/ideas/template/index_body.html

Code: Select all

<!-- INCLUDE overall_header.html -->

<h2>phpBB Ideas</h2>

<!-- IF S_USER_LOGGED_IN -->
<a href="posting.php" class="newidea"><span></span></a>
<!-- ENDIF -->

<div style="overflow: auto">
	<div style="width: 49%; float: left;">
		<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt><span class="wrap-content">{L_LATEST_IDEAS}</span></dt>
						<dd class="posts">{L_RATING}</dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
				<!-- BEGIN latest_ideas -->
				<li class="row">
					<dl class="icon" style="background-image: url({T_IMAGESET_PATH}/forum_<!-- IF not latest_ideas.READ -->un<!-- ENDIF -->read.gif); background-repeat: no-repeat;">
						<dt title="Read posts">
							<a href="{latest_ideas.LINK}" class="forumtitle">{latest_ideas.TITLE}</a><br />
							by <strong>{latest_ideas.AUTHOR}</strong> &raquo; {latest_ideas.DATE}
						</dt>

                        	<div class="minivoteup solid"><span>{latest_ideas.VOTES_UP}</span></div>
                                <div class="minivotedown solid"><span>{latest_ideas.VOTES_DOWN}</span></div>
                        </dd>
					</dl>
				</li>
				<!-- END latest_ideas -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
		<a href="{U_VIEW_LATEST}" class="viewall forumbg">{L_VIEW_ALL}&hellip;</a>
	</div>

	<div style="width: 49%; float: right;">
		<div class="forabg">
			<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt><span class="wrap-content">{L_TOP_IDEAS}</span></dt>
						<dd class="posts">{L_RATING}</dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
				<!-- BEGIN top_ideas -->
				<li class="row">
					<dl class="icon" style="background-image: url({T_IMAGESET_PATH}/forum_<!-- IF not top_ideas.READ -->un<!-- ENDIF -->read.gif); background-repeat: no-repeat;">
						<dt title="Read posts">
							<a href="{top_ideas.LINK}" class="forumtitle">{top_ideas.TITLE}</a><br />
							by <strong>{top_ideas.AUTHOR}</strong> &raquo; {top_ideas.DATE}
						</dt>

                        <dd class="topics">
                        	<div class="minivoteup solid"><span>{top_ideas.VOTES_UP}</span></div>
                                <div class="minivotedown solid"><span>{top_ideas.VOTES_DOWN}</span></div>
                        </dd>
					</dl>
				</li>
				<!-- END top_ideas -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
		<a href="{U_VIEW_TOP}" class="viewall forumbg">{L_VIEW_ALL}&hellip;</a>
	</div>
</div>

<!-- IF S_USER_LOGGED_IN -->
<a href="posting.php" class="newidea"><span></span></a>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->
Oh and by the way, this might be relevant as well, not sure...but I'm not using the standard voting icons...I followed the edits to this pull request -- https://github.com/phpbb/phpbb-ideas/pull/1