Jump to content


Photo
- - - - -

Tags error

tags error

  • Please log in to reply
11 replies to this topic

#1 adultweb

adultweb

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 02 January 2016 - 10:48 AM

I am testing new release non adult 3.2 and when i click on a tag i get this error:

Error
Invalid search type. Allowed search types: videos, photos and users!

Edited by adultweb, 02 January 2016 - 11:16 AM.


#2 Admin99

Admin99

    Administrator

  • Administrators
  • 20 posts

Posted 02 January 2016 - 01:48 PM

This is indeed a bug. We forgot to update the links on the tags on the video page. It will be fixed ASAP



#3 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 04 January 2016 - 08:04 PM

Hi I have the same error.



#4 fooktube

fooktube

    Member

  • Members
  • PipPip
  • 24 posts

Posted 06 January 2016 - 05:20 PM

is there a fix? I instaled upgrade today 06. janury and its broken



#5 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 06 January 2016 - 09:13 PM

Solved! modifique url video.tpl



#6 fooktube

fooktube

    Member

  • Members
  • PipPip
  • 24 posts

Posted 07 January 2016 - 08:29 PM

Solved! modifique url video.tpl

 

LOL!!! Thank you for your detailed instructions how to fix this bug. Can you tell me how to "modifique" that file please?



#7 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 07 January 2016 - 09:04 PM

Archive: templates/template/video.tpl 

 

 

search: 

<a class="tag" href="{$relative}/search?search_type=videos&search_query={$keywords[i]}">{$keywords[i]}</a>

Replace:

<a class="tag" href="{$relative}/search/videos?search_query={$keywords[i]}">{$keywords[i]}</a>

Edited by apple82, 07 January 2016 - 09:04 PM.

  • Negative1 likes this

#8 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 07 January 2016 - 09:06 PM

see in demo AVS has the same error:

 

http://www.avsdemo.c...-music-and-more



#9 fooktube

fooktube

    Member

  • Members
  • PipPip
  • 24 posts

Posted 07 January 2016 - 09:42 PM

Thank you its working fine now :)



#10 desihoes

desihoes

    Senior Member

  • Members
  • PipPipPipPip
  • 380 posts

Posted 10 January 2016 - 05:00 AM

Thanks.. :)



#11 Negative1

Negative1

    Newbie

  • Members
  • Pip
  • 13 posts

Posted 15 January 2016 - 11:24 PM

 

Archive: templates/template/video.tpl 

 

 

search: 

<a class="tag" href="{$relative}/search?search_type=videos&search_query={$keywords[i]}">{$keywords[i]}</a>

Replace:

<a class="tag" href="{$relative}/search/videos?search_query={$keywords[i]}">{$keywords[i]}</a>

 

Perfect. Thank you. 

 

 

On another note, does any of you have a good way to make a tags page? Where it lists all of the tags that are also clickable?



#12 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 16 January 2016 - 02:18 PM

whether it might be possible but it makes little sense to create a page just tags.







Also tagged with one or more of these keywords: tags, error