From categories:
page 1123...next »

Thanks Ed. I wasted a couple of hours trying to find out what was wrong, until I found your post…much appreciated.

Re: Join module on private site by Greg_HGreg_H, 29 Mar 2017 05:44

Wow, that's a clever solution, thanks! And if I have multiple buttons on the same page (as I do), I just change the corresponding id:s, right?

Edit: it seems to work fine (I set unique id:s to each button), but when I click another button, the previous one changes back to its original state…


___TTT___/ http://www.trumpetexercises.net
 (_|||_) \ - Janne

Re: Bootstrap button class change by jjsjjs, 29 Mar 2017 04:35

You can kind of do it with two buttons by overlaying them on top of each other:

[[span class="togglable-container"]][[a id="u-success" class="btn btn-success togglable" href="#u-success"]]Button[[/a]][[a id="u-danger" class="btn btn-danger togglable" href="#u-danger"]]Button[[/a]][[/span]]

[[module CSS]]
.togglable-container { position: relative; }
.togglable-container a.togglable {
    position: absolute;
    top: 0; left: 0;
}
a.togglable { z-index: 1; }
a.togglable:target { z-index: -1; }
[[/module]]

Absolute positioning forces the buttons into the same space, and z-index allows us to dynamically adjust which one is on top. When a button is clicked, its z-index becomes negative, so it goes to the bottom.

Whether this is a good solution or not depends on what you are really wanting to do, though.


Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me

Thanks, Ed. That was a great solution!



Eduardo R. Ribeiro
Macro-Jê linguistics, &c.

Re: Dealing With SPAM by kawinakawina, 29 Mar 2017 02:41

After reading your question more carefully (I missed the part about toggling back to the original state), I think the only way to do it is with some JavaScript.

That said, I wonder if a clever use of iftags to show/hide different button states would work. What's your end goal with this functionality?

I trying to use a image as anchor… How could i do it?

Use an anchor with a image by enthelenthel, 28 Mar 2017 19:46

I think you can do it only with Html and Css but i don't know how to do it! Sorry!

Hi Ed!

I've been browsing those Stack Overflow discussions too and yes, it seems that javascript is required for this. Couldn't get any of the solutions work so far though…

Thanks for the link for the non-javascript solution. There are two downsides though:

  1. When clicked again, the appearance of the button doesn't revert back (Demo 1)
  2. With two buttons, the "pushed down" state is removed from the other button, when clicked the other one (Demo 2)

___TTT___/ http://www.trumpetexercises.net
 (_|||_) \ - Janne

Re: Bootstrap button class change by jjsjjs, 28 Mar 2017 12:32

If you're using a MailForm module, you could add a simple form of captcha using regular expressions on a required field.

# mycaptcha
 * title: What's 9 plus 135?
 * type: text
 * rules:
  * required: true 
  * match: /^(144)$/

The other option I use for one site is a free JotForm account. That site has low volume and stays well under the limits for a free account (100 submissions per month). I'm sure there are other similar services you could use to embed a form that would allow a true catpcha-style field.

Re: Dealing With SPAM by Ed JohnsonEd Johnson, 28 Mar 2017 12:27

The only way to do it with a button is using javascript. You can simulate what you're looking for by converting the buttons to standard links and styling them to look like a Bootstrap button. I found this Stack Overflow discussion on this topic that explains it well.

Hello!

I'd like a Bootstrap button to change its class / style (for example from default to primary and vice versa) when clicked (so that the new style remains until clicked again). Is this possible?

The button itself doesn't have to do anything (or lead anywhere).

Thanks!


___TTT___/ http://www.trumpetexercises.net
 (_|||_) \ - Janne

Bootstrap button class change by jjsjjs, 28 Mar 2017 09:44

Spam fighting 2 minutes this morning:
Killing user (jgfhg) - DONE
Removing comments and posts - (4) - DONE

Killing user (zsdgbdzf) - DONE
Removing comments and posts - (34) - DONE
28 Mar 2017, 08:30

Killing user (gaibanxian12) - DONE
Removing comments and posts - (3) - DONE
28 Mar 2017, 08:29

Killing user (yzsyzs4) - DONE
Removing comments and posts - (2) - DONE

Killing user (wuwuw080) - DONE
Removing comments and posts - (10) - DONE
28 Mar 2017, 08:29

Killing user (nihaihaom03) - DONE
Removing comments and posts - (11) - DONE


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?

Re: Dealing With SPAM by Helmut_pdorfHelmut_pdorf, 28 Mar 2017 06:41

I was going to write a complaint on this subject, and was glad to see that a thread has already been started. My problem is with spam messages sent through my "contact" page. Is there any way to avoid that? Adding CAPTCHA or something like that to the contact form? Thanks in advance for any tips.



Eduardo R. Ribeiro
Macro-Jê linguistics, &c.

Re: Dealing With SPAM by kawinakawina, 28 Mar 2017 03:05

Hello!

Is there a way to force Redirect module to open a new tab / window for the redirection?

Thanks!


___TTT___/ http://www.trumpetexercises.net
 (_|||_) \ - Janne

Hi!

I have an autonumbered category. You can set this attribute to the NewPage module: "save-and-go" saves the page and goes to it (without editor).

However, it takes the user to category:pagename instead of category:1, etc. With autonumbering, the page category:pagename obviously doesn't exist.

Any thoughts, is this a bug or intended behavior?


___TTT___/ http://www.trumpetexercises.net
 (_|||_) \ - Janne

NewPage module (save-and-go mode) by jjsjjs, 26 Mar 2017 17:49

I am with you, Jack Button. The text that appears on this Forum Thread are perfect.
However, on the left side of this page, and all of my new possibilityies4change.wikidot.com is possibly suited for children. Definitely not for adults.
Further, the fact that one is required to go to such lengths to adjust the size, rather than follow the Standard lead of most Software Developers, suggests to me that the application is poorly structured.
Further Phil Chett, adjusting the css is not a beginners thing - absolutely agree. But every application requires it. So everyone else includes that facility into the application.

Re: List of all Wikidot Wikis by FuggesoFuggeso, 25 Mar 2017 09:26

Thanks for your comments HentaiMD. I found this because Helmut (above) linked to your post on the community admin forums - in an effort to alert the Wikidot development team to the nature and scope of the problem.

I'm another community administrator (not a staff member from Wikidot). Your concerns are definitely valid - we should do whatever we can to stop the level of spam that we're seeing.

Are you receiving spam mainly as per-page comments, or as edits to the pages themselves?


Shane Smith
Web Developer and Wikidot Community Administrator
Links: Wikimated, Editor (STE), Official Docs
WIKIMATED v2 Available Soon!

Re: Dealing With SPAM by leigerleiger, 25 Mar 2017 08:20

you can try lot of request on google to search your list like inurl:wikidot . com

Re: List of all Wikidot Wikis by RachelXnRachelXn, 24 Mar 2017 23:40
page 1123...next »

Bookmark and Share