Code Monkey home page Code Monkey logo

livesearch's People

Contributors

alg5 avatar galixte avatar rxu avatar tatiana5 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fryschyn galixte rxu

livesearch's Issues

User posts >> In the forum Link doesn't work

Hi,

on topic view (viewtopic) or forum view (viewforum) when i search a user with liveSearch extension. If i enter a username, it's displayed the profile links and the search links for topics/messages in the board/forum/topic but the next link doesn't work:
User posts >> In the forum FIXED HERE: #6

Adding SQL query to the results

Hey Alg, great extension with so much potential!
Wanted to know if you could help me with something simple.

I have a custom column in phpbb_topics called 'iticonurl' which holds a string. I want this to show in the results for the global topic search (before the topic title and forum name).

I have tried editing livesearch_ajax_handler.php to get the SQL to query for this field, but it doesn't show in the results :(

Any chance you could help?

Thanks! Teeb

Version number (Mod version:)

Hi @alg5,

in ACP since your commit here: c58b094 the version number (Mod version:) isn’t displayed.

Futhermore, the text “Mod version:” should be in english “Extension version:”.

Jabber link doesn’t work

Hi @alg5,

if i click on username by this extension, it will be displayed all link from mini profilte, internet website, PM, email, etc… and Jabber.

If i click on Jabber link it doesn’t work, a popup is displayed with this adress: http://www.domain.tld/%7Dmemberlist.php?mode=contact&action=jabber&u=2 and the error message is:

Information

No route found for "GET /%7Dmemberlist.php"

The correct adress should be: http://www.domain.tld/memberlist.php?mode=contact&action=jabber&u=2.

Results page get an error when we click on username in results

Hi @alg5,

if i click on “Quick search” (live search extension on top of page) to search a username, and if i click on “User posts >In the board”, i have a results page with all messages posted by this user, by example at this adress: http://www.domain.tld/liveSearch/userpost/0/0/2.

Now, if i click on the username in mini profile on right side of a result i get an error page, like that:

General Error
SQL ERROR [ mysqli ]

Unknown column 'memberlist.php' in 'where clause' [1054]

SQL

SELECT count(t.topic_id) as total_count, t.topic_title, u.username FROM phpbb_posts p LEFT JOIN phpbb_topics t ON (p.topic_id = t.topic_id) LEFT JOIN phpbb_users u ON p.poster_id = u.user_id WHERE t.topic_status <> 2 AND t.topic_visibility = 1 AND p.post_visibility = 1 AND p.poster_id = memberlist.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/alg/liveSearch/controller/livesearch_ajax_handler.php
LINE: 657
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/alg/liveSearch/controller/livesearch_ajax_handler.php
LINE: 109
CALL: alg\liveSearch\controller\liveSearch_ajax_handler->live_search_userpost()

FILE: (not given by php)
LINE: (not given by php)
CALL: alg\liveSearch\controller\liveSearch_ajax_handler->main()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()

This issue is the same on all results page.

Some trouble with 3.0.4 version

Hi
Small feedbacks about the version 3.0.4 of Live Search as Google on a forum in version 3.3.1

When the extension is activated
This message appears at the top of the screen upon activation, and when going into the PCA. By browsing the forum no problem

Language file
There is a problem with the French translation, but it does not come from the files in the folder fr

See here: https://www.phpbb.com/community/viewtopic.php?p=15595641#p15595641

Best regards

"converse to TWIG format" commit has reverted a lot of changes

It seems that "converse to TWIG format" commit has reverted a lot of changes which have been done before, including quoting table name in tables.yml, updating travis.yml with adding extension ACP tests and a lot more recent changes have been undone.

If converting template to Twig was the only point and the rest of changes were made by an accident, I could send a PR to fix that.

Send private message & Send email doesn't work

Hi,

on the board when i search a user with liveSearch extension. It's displayed the profile links and the search links for topics/messages in the board/forum/topic "Send private message" & "Send email" don't work:

  • "Send private message" link is under the form: http://www.domain.tld/ucp.php?i=pm&mode=compose&u2 instead of http://www.domain.tld/ucp.php?i=pm&mode=compose&u=2 FIXED HERE: #9
  • "Send email" link is under the form: mailto:2 instead of mailto:[email protected] FIXED here: 0655ac4

“Turn on the quick search of similar topics” option

Hi @alg5,

when i use this style https://github.com/inventea/we_universal and when i want to post a new topic, the field: “Subject:” is very small, code source indicated this:

<input type="text" name="subject" id="subject" size="45" maxlength="120" tabindex="2" value="" class="inputbox autowidth acInput" autocomplete="off" style="padding-left: 2px;"> 

while when this option is disabled the code source indicated this:

<input type="text" name="subject" id="subject" size="45" maxlength="120" tabindex="2" value="" class="inputbox autowidth">

However, i think this option is very very useless, why search a topic in this place while there is the same choice in top of forum with the Live search from this extension ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.