FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 48 users online :: 0 Registered, 0 Hidden and 48 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SOLVED] Update script

View previous topic View next topic Go down

jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 31 Jul 2016, 13:33

I have this script to post search topic of discussion.but seeks only to page

example : search page 1,search page 2,search page 3

trying on all pages

example : search page 1--->15

code:

thank you all Heart eyes
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 31 Jul 2016, 14:59

Hi @jessy,

This is a request for help, correct ? Is the script not working ? If so, I'll need more information :

1. What forum version are you applying this script to ?
2. When did the script stop working ?
3. Are there any errors in your console ? Right click > Inspect element > Console tab, and copy / paste the contents, if there are any errors.
jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 31 Jul 2016, 15:38

Ange Tuteur wrote:Hi @jessy,This is a request for help, correct ? Is the script not working ? If so, I'll need more information :

1. What forum version are you applying this script to ?
Invision

Ange Tuteur wrote:
2. When did the script stop working ?

It makes the search for a page at a time I would like to do the research on all pages

search page 1,search page 2,search page 3 = no

search from page 1---> to page 15=yes

Ange Tuteur wrote:
3. Are there any errors in your console ? Right click > Inspect element > Console tab, and copy / paste the contents, if there are any errors.
no error
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 31 Jul 2016, 15:48

Thanks, I gave the script a try. Wink

So what you want to do, is make the script search the entire topic, all pages included, yes ?
jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 31 Jul 2016, 15:59

yes, fantastic
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 31 Jul 2016, 21:27

It's possible, but the result will be extremely sluggish -- especially when there is well over 50 pages. To search the text in each page you need to make a request to the server each time, which can be very slow when there's many pages. I don't think it would be ideal to implement into the script, because it'll make it inefficient and unusable when there's many pages... Think
jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Mon 01 Aug 2016, 13:41

the pages are abaut 10/15 can you do it ? Update - [SOLVED] Update script 1f618
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 02 Aug 2016, 13:39

Unfortunately not, even that many pages would be sluggish.. Think
jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Wed 03 Aug 2016, 07:58

can you give me an advice ?
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12254
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Wed 03 Aug 2016, 13:25

On how to do it ? It would require sending consecutive AJAX requests to each page, but first you need to calculate how many pages are in the topic + the posts per page. Very technical stuff and would be a lot to explain. study
Anonymous
Guest
Guest

PostGuest Wed 03 Aug 2016, 13:37

Solved... right?
jessy
jessy

Gender : Female
Posts : 102
Points : 3350
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Wed 03 Aug 2016, 15:32

Ange Tuteur wrote:On how to do it ? It would require sending consecutive AJAX requests to each page, but first you need to calculate how many pages are in the topic + the posts per page. Very technical stuff and would be a lot to explain. study

Confused OK thank you very much
Samantha wrote:Solved... right?
Yes thanks Update - [SOLVED] Update script 1f339
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum