1
russia5
WF-Links
  • 2006/1/16 18:35

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


My link submission button inadvertantly dissapearred. Can someone tell me how to enable it again. Also, I need the path to the form.

A downside of WF Links, is that the link submission form is not editable. I would like to put in a page to invite other sites to take our link? What I am thinking is either to wrap a page, then link the submission form to it. (I have already done this once and it works okay) Or, add a content page with the add URL (banners and text links) in it. Or, cut the present form page.

Any ideas? If I use a content page to put my text links and banners on, what kind of XOOPS page should I use and what kind of content should I put in it.

2
russia5
Re: WF-Links
  • 2006/1/16 19:38

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


I just reloaded the WF-Links module and now the submit buttons are there.

Does anyone know how to remove the submit button right above the directory? Or how to cut the submit.php page to add my banners and link back text?

3
McDonald
Re: WF-Links
  • 2006/1/16 20:41

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can remove the submit option from the toolbar by commenting out lines 199-202 in the file include/functions.php as follows:

/**    if ( true == checkgroups( $cid, 'WFLinkSubPerm' ) )
    {
        $toolbar .= "" . _MD_WFL_SUBMITLINK . " | ";
    } */


I think should add the banners to the html-files in the templates folder.

4
russia5
Re: WF-Links
  • 2006/1/16 21:39

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


Yessss.... worked like a charm and thankyou very much! All of the templates for WF-Links do not come into the view screen. I don't know if this is normal, or if I have a bug. (When I hit view, it goes back out to the beginning of the template screen)

Anyway, I have looked through all of the templates I can access, and I don't see a reasonable place to cut my banners into the submit page. It should be right where the text is. Would you happen to know whitch template it is on.

5
McDonald
Re: WF-Links
  • 2006/1/16 22:24

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Sorry, my mistake. To put the XOOPS banner in the submit form open the file submit.php and add the following line of code to line 15 (after the include's):

echo "xoops_getbanner() . "
n";


This displays the XOOPS banner centered above the submit form.

Try this WF-Links version, it has most of the bugs solved: McDonalds Store

See also: WF-Projects

6
russia5
Re: WF-Links
  • 2006/1/16 22:53

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


I believe you were on the right trail before. I have the XOOPS banner on my site now.

What I want to do, is offer people who are submitting their links to me, to take our link, and post on their own sites ie) recipricate the link. So, above the form, I would like to put: "Before you submit your link, please take our Text link or banner, and place on your link pages.

Below that prose, should be a selection of banners and a HTML text link.

Below that, should be the form.

I would probably need to go to a template and find the two lines:

*all new links are subject to validation...
*we reserve the right...

I looked through the templates an did not find these lines, but my system is not letting me see all the templates.

Thanks...

7
McDonald
Re: WF-Links
  • 2006/1/16 23:31

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
*all new links are subject to validation...
*we reserve the right...


You'll find these lines in the file language/english/main.php , approximately line 91.

Just create your own line of text:
define"_MD_WFL_definition1""Your text here .... ");


In submit.php you add the line:
echo "
_MD_WFL_definition1 "
nn"
;

8
russia5
Re: WF-Links
  • 2006/1/17 1:16

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


That's it... Thankyou...

Login

Who's Online

222 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits