Topic: atach pluggins articles to send message
mar

Noob
Noob
Posts: 3

Posted:
Dec 16, 2005

Hello,
I imagine i have a mod with a pluggin into the profile,
showing 2 diferent module categories(or duplicated mod) in 2 columns at the bottom of the user info box. Like this:

Profile
+

CATG 1:(checkbox)Article 1 ---column--- CATG 2:(checkbox)Article 2 ...
...

-Ask a question -
Click and bring you to:

Title:
Quantity:
Description:
...
with selected articles atached,

SEND


---
Easy-dificult? Does it make any sense,?

Thanks in advance.

Chestnut
avatar
Site Admin
Posts: 1320

Posted:
Dec 17, 2005

mmm I admit I did not fully understood but from what I understood... Yea I guess it can be done.

Easyness would be another question though. icon_wink

But basically, the beauty of the plugins (with a template) is that you can do virtually (in theory) whatever you want.

So if you want to show some kind of Poll under the user information and that this poll is linked to another module, yup... it can probably be done.

icon_wink



Chestnut ! Cool
Site Admin
mar

Noob
Noob
Posts: 3

Posted:
Dec 19, 2005

QuoteSo if you want to show some kind of Poll under the user information and that this poll is linked to another module, yup... it can probably be done.


linked to send message to user and will send the (multiselected)poll(s),.. in it icon_confused

I am looking for automatic adding information when contacting the user..
ex:
I wrote three articles and have a checkbox in each article at profile and have a Send/contact link (and avoid one profile field BTW)
or select the articles in the Send message form..
icon_smile

the most pluggin friendly, the better icon_biggrin ...thanks,

Chestnut
avatar
Site Admin
Posts: 1320

Posted:
Dec 19, 2005

You are trying to make me do that for you huh ? icon_rolleyes icon_smile

Sorry, currently too much overloaded to take such development BUT... here is a little scoop.

You can already accomplish very easily a very basic feature yourself...

Open the pntemplates/default/advProfile_plugin_last10news.tpl

And aside the link to the Article (inside the li /li), add the following link :

Code
  1. <a href="index.php?name=Recommend_Us&req=FriendSend&sid=<!--[$last10news[last10news].sid]-->" title="Send to Friend">Send to a friend</a>


And voilą... you have your send to a friend link aside each article title. This link is redirecting to the Recommend_Us module that gives the opportunity to send an article to a friend.
icon_wink



Chestnut ! Cool
Site Admin
mar

Noob
Noob
Posts: 3

Posted:
Dec 19, 2005

Thanks for the quote, it's a helpful one icon_wink
but.. link to -Email (this article icon_confused ) to a friend-
sends the url in the message icon_confused


this way:
users still needs to copy/paste or write too much info when contacting each other,

the other:
send (some) submitted info previews between users with a personal written message.


QuoteYou are trying to make me do that for you huh ? icon_rolleyes icon_smile



If you/or another like any of it for the stuff you do for pn, my lucky day icon_wink ..
Any other information on how to develop it, would be great for stepping it forward.



--------

I'm more looking at the jobseeking engines/classifeds mods more than news. For putting together 'See all ads AND user profile' along with a single link for Contact

No need of this:
Username(no need link) has more ads, see all(no need link), instead,,
all ads at profile, profile link at submitter


dropdown(s) for auto copy user submitted info when Contacting user icon_confused

or select them at user profile icon_confused


--------
something 'extra':
A little scoop for news mods: At submit info, users could choose to attach different (admin made) html for articles.