Jump to content


Various Mod requests


7 replies to this topic

#1 blu

  • Members
  • 5 posts

Posted 11 April 2006 - 11:41 AM

Hello Visy,
Came aboard to get some sense and direction (lol) in working modules to my needs for my site.

I'd like to know the possibility and/or availability of the following mods:

1. COPYRIGHT
Auto coyright info displayed when members posts
I'd like when members post their work in the article/reviews/events/ etc. that they have an auto script( eg. below ) being attached to the bottom of their post

Copyright © (posted year) (members name)
appearing this way on posts
Copyright © 2006 Sing song

COLUMN LINES OR BACKGROUND COLOURS
2. Need my home page to have define columns --similar to what you have here as sometime depending on the lenght of the topic post -- everything seems somewhat jumbled. At the moment I only need the two columns to be define -- where do I go to adjust that? whether lines or slight change in colour to define the fields.

AWARD SYSTEM
Is there an award system for the portal -- where members gets awards and it appears under their profilem etc? --or would that be a board issue?

FORUM TO MODULES POSTS
Is there a way when members post in a forum for it to automatically be transfered to the article/review modules as a submitted/added entry??


ok -- I'm done for now --lol

thanks for your guidance and help

blu

#2 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 12 April 2006 - 02:56 PM

blu said:

1. COPYRIGHT
Auto coyright info displayed when members posts
I'd like when members post their work in the article/reviews/events/ etc. that they have an auto script( eg. below ) being attached to the bottom of their post

Copyright © (posted year) (members name)
appearing this way on posts
Copyright © 2006 Sing song
Hi blu. Welcome. Here is how to post the copyright date for the reviews module. Other modules should be very similar.


FIND in mkportal/modules/reviews/index.php (function entry_view):
$review = $row['review'];
ADD BELOW:
//Review copyright hack
$cdate = date("Y", $row['date']);	  
$review = $review."

<p>Copyright © ".$cdate." ".$autore."</p>";
//end Review copyright hack
That should do what you want.


blu said:

COLUMN LINES OR BACKGROUND COLOURS
2. Need my home page to have define columns --similar to what you have here as sometime depending on the lenght of the topic post -- everything seems somewhat jumbled. At the moment I only need the two columns to be define -- where do I go to adjust that? whether lines or slight change in colour to define the fields.
Sorry, I don't understand this question.

blu said:

AWARD SYSTEM
Is there an award system for the portal -- where members gets awards and it appears under their profilem etc? --or would that be a board issue?
No. I am not aware of any points systems for MKPortal. But this is a feature that has been requested often. This would be a fairly major mod I think and it would be different for each forum software. That's probably why noone has done it. At least I have never seen such a thing for MKPortal.

blu said:

FORUM TO MODULES POSTS
Is there a way when members post in a forum for it to automatically be transfered to the article/review modules as a submitted/added entry??
Yes I am sure it is possible. It would be a forum hack though and not a portal hack. You want only posts from 1 particular forum to become reviews posts?


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#3 blu

  • Members
  • 5 posts

Posted 13 April 2006 - 02:54 PM

Thanks Visy,

I'm so proud -- I did the copyright hack and it worked!! -- well, other than it stamping an incorrect date. How do I get to use the current year we're in? also where can I out this hack in the articles to make it work?

Additionally, I'd like to know how to have the right column upload when posting in the articles and review mods

finally, I'd like to change the background colour for the right column and/or add a light border around it. What would I need to adjust here?

THANKS again!!!

ps. Please let me know any info update on the feature artist module
again -- thanks much -- ure the best!

blu

#4 blu

  • Members
  • 5 posts

Posted 13 April 2006 - 02:56 PM

Quote

Yes I am sure it is possible. It would be a forum hack though and not a portal hack. You want only posts from 1 particular forum to become reviews posts?
yea -- that would be correct!

thanks

#5 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 17 April 2006 - 11:20 AM

blu said:

How do I get to use the current year we're in?
I am not sure why the php date function isn't working for you. Maybe you could try using this instead of the code posted above...

	//Review copyright hack
	$cdate = @gmdate('Y', $row['date']);	
	$review = $review."

<p>Copyright © ".$cdate." ".$autore."</p>";
	//end Review copyright hack

blu said:

also where can I out this hack in the articles to make it work?
FIND in articles/index.php (function entry_view):
$query = $DB->query( "SELECT id_cat, title, description, field1, field2, field3, field4, field5, field6, field7, image, article, author, idauth, click, rate, trate FROM mkp_articles where id = '$iden'");
REPLACE WITH
$query = $DB->query( "SELECT id_cat, title, description, field1, field2, field3, field4, field5, field6, field7, image, article, author, idauth, click, rate, trate, date FROM mkp_articles where id = '$iden'");
FIND:
$article = $row['article'];
ADD BELOW:
	//Articles copyright hack
	$cdate = @gmdate('Y', $row['date']);	
	$article = $article."

<p>Copyright © ".$cdate." ".$autore."</p>";
	//end Articles copyright hack
Note to readers: The MKPArticles module is not an available module. This is something I installed custom for blu. This particular hack will not really help anyone but blu.


blu said:

Additionally, I'd like to know how to have the right column upload when posting in the articles and review mods
To collapse the right column in any module you simply edit the call to the printpage function. For example in the reviews module (function reviews_show) you would find:

$mklib->printpage("1", "1", "{$mklib->lang['re_pagetitle']}", $blocks);
You would change the "1" (open) to "0" (closed) like this...

$mklib->printpage("1", "0", "{$mklib->lang['re_pagetitle']}", $blocks);
Just search the files for "printpage" and you will be able to find all the places where this code occurs. It is basically the same for all modules. You can collapse the columns only for the particular screens that stretch the portal or you can collapse them all.

But I am not sure why you need to know this since your right column is not loaded globally.

blu said:

finally, I'd like to change the background colour for the right column and/or add a light border around it. What would I need to adjust here?
You don't have a right column so I don't understand the need for this.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#6 blu

  • Members
  • 5 posts

Posted 17 April 2006 - 11:27 AM

aaaawwwwww -- you're so "RIGHT" --- I meant left column! -- hehehehe

sorry (blushing) left column to upload. I think thats the only way the rich text editor will fit and not distort the template.

ps. any feedback on the feature artist module?

thanks

#7 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 17 April 2006 - 11:34 AM

blu said:

aaaawwwwww -- you're so "RIGHT" --- I meant left column! -- hehehehe

sorry (blushing) left column to upload. I think thats the only way the rich text editor will fit and not distort the template.
Oh, OK. Well just edit the first "1" instead of the second. See this post for more detail...

http://www.visiblesoul.net/resources/forum...opic.php?id=596

blu said:

ps. any feedback on the feature artist module?
I PMed you on your board about this. I think it would be a useful module. I will try to create it soon.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#8 blu

  • Members
  • 5 posts

Posted 20 April 2006 - 06:08 PM

sorry -- I tried but am unable to fix the articcle column upload so the page is still distorted when an article is submitted

any other ideas?

thanks much

ps. no dice with the copyright date either. could it be the hosting local settings?? -- but then again, I did notice it giving the correct date in the entry field





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users